473,560 Members | 2,937 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DB Ausgabe in Tabelle mit unterschiedlich er Farbe der Zeilen


zwecks der Übersichtlichke it bei der Ausgabe von DB Daten in eine Tabelle
würde ich gerne jede zweite Zeile andersfarbig markieren. Die Daten werden
über eine while Schleife ausgegeben.

Danke für Tipps

Lt Müller
Jul 17 '05 #1
2 3958
"Lt Müller" <lt********@bun deswehr.org> schrieb:
zwecks der Übersichtlichke it bei der Ausgabe von DB Daten in eine Tabelle
würde ich gerne jede zweite Zeile andersfarbig markieren. Die Daten werden
über eine while Schleife ausgegeben.

You're german speaking so you might want to have a look at the FAQ from
the de.comp.lang.ph p-hierarchy.

25.17. Wie stelle ich Tabellenzeilen abwechselnd farbig dar?

Jul 17 '05 #2
In article <bk************ *@news.t-online.com>,
"Lt Müller" <lt********@bun deswehr.org> wrote:
zwecks der Übersichtlichke it bei der Ausgabe von DB Daten in eine Tabelle
würde ich gerne jede zweite Zeile andersfarbig markieren. Die Daten werden
über eine while Schleife ausgegeben.

Danke für Tipps

If you use Smarty you can use the "cycle" function.

<http://smarty.php.net/manual/en/language.functi on.cycle.php>


Sorry, <de*****@cauce. org> is een "spam trap".
E-mail adres is <jpk"at"akamail .com>, waarbij "at" = @.
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: dominic | last post by:
Hallo miteinander, kann mir bitte jemand erklären warum ich mit diesem code keine dropdowns erzeugen kann: Gruppe A<br> <form name="form1"> <table> <?
by: discomiller | last post by:
Mario Mueller: Hello *, radiobuttons belong to other radiobuttons by the "name="any_value"" attribut. Thats a fakt. I got the following XML: **************************************************************
by: Alan Brown | last post by:
As a newbie I would like to ask what the difference in application (not details) is between C++ and Java. In what situations would you use C++ in preference to Java and vice versa? I am not asking for personal opinions on which is the *best* language :) Alan.
by: Pito81x | last post by:
Ciao a tutto il news Ho un problema: in access ho una tabella collegata ad un'altra tabelle di un server Oracle (fin qui tutto ok) solo che quando da VB apro la mia tabella Access esso mi chiede la user name e password per effettuare il collegamento alla tabella Oracle..... Qualcuno mi sa dire come posso fare per passargli la pwd???...
by: Pohl | last post by:
Hallo Zusammen, in der Access Datenbank mit Produktionsdaten werden tägliche Auswertungen benötigt. Zur Zeit gibt es einen Tagesauswertung als Aceess Bericht. Eine zukünftige Anforderung besteht darin, die zusammengefassten Tages-Leistungen (1 Datensatz) als neue Zeile in ein vorhandenenenes Excel-Arbeitsblatt automatisiert (VBA) zu...
by: amir | last post by:
Hallo Ihr Experten, ich möchte aus einem Formular aus, eine bereits vorhandene Laufendenummer aus einer Tabelle.spalte auslese und dazu noch eine 1 addiere und dann das Ergebnis in ein Textfeld auf diesem Formular eingeben! Danach werden weitere Daten von dem User eingegeben und dann werden alle diese Daten (die neue Laufendenummer auch) in...
by: Francesco | last post by:
Ciao a tutti... Premetto che non sono molto pratico di MySql (anche se ho già fatto qualche piccola applicazione che sfrutta questo DBMS) Ho un problema da risolvere molto importante. Ho un DBMS MySql dove sono presenti solo i dati (le tabelle). In un DataBase Access 2000 ho creato le maschere per la gestione e le varie stampe per...
by: Marchetto | last post by:
Ciao a tutti, ho trovato molte indicazioni riguardo al seguente problema, ma nessuna ha sortito gli effetti sperati. Ho un db Access con alcune tabelle collegate (file di testo). Da access riesco ad aprire queste tabelle e ad eseguire qualsiais query. Da Visual Studio 2005, provando a creare una nuova connessione dati che punta al file...
by: Wolfgang Hauer | last post by:
Hallo! Ich habe eine inmemory-bitmap. die ich leider in eine png-datei umwandeln muss. ich mache das jetzzt so: b = New Bitmap(System.Reflection.Assembly.GetExecutingAssembly.GetManifestResourceStream(sFullName)) If b Is Nothing Then
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.