473,397 Members | 2,077 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

DB Ausgabe in Tabelle mit unterschiedlicher Farbe der Zeilen

hallo,

zwecks der Übersichtlichkeit 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 3948
"Lt Müller" <lt********@bundeswehr.org> schrieb:
zwecks der Übersichtlichkeit 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.php-hierarchy.

25.17. Wie stelle ich Tabellenzeilen abwechselnd farbig dar?
http://www.dclp-faq.de/q/q-code-tabellenfarbe.html

Regards,
Matthias
Jul 17 '05 #2
In article <bk*************@news.t-online.com>,
"Lt Müller" <lt********@bundeswehr.org> wrote:
zwecks der Übersichtlichkeit 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.function.cycle.php>

JP

--
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

1
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> <?
1
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:...
47
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...
1
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...
0
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...
1
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...
0
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...
2
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...
2
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
Oralloy
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.