473,692 Members | 2,103 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 3963
"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??? grazie
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 exportieren. Die Möglichkeit "DoCmd.TransferSpreadsheet acExport" ist da nicht geeignet, da ich nicht...
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 der gleichen Tabelle als neuer Datensatz gespeichert. Ich denke an:
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 l'analisi. Al Database Access devo collegare le tabelle presenti nel Db MySql. Il tutto gira su Pc con...
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 mdb citato, appena tento di aprire una tabella, o di eseguire una nuova query o una già salvata e...
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
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 most users, this new feature is actually very convenient. If you want to control the update process,...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.