RE: [PHP-GENERAL] looping through fields in a table
| From: | Sam Masiello | Date: | Tue, 30 May 2000 15:02:10 +0000 |
| Subject: | RE: [PHP-GENERAL] looping through fields in a table | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-639@lists.php.net to get a copy of this message | ||
This partly depends on how you want to present the information. It could be
done in a couple of different ways depending on whether you want to present
your data with column headers along the top (in a tabular fashion) or along
the side like this:
Field1:Value1
Field2: Value2
Field3: Value3
Field1: Value1
<etc etc>
In either case, the short answer to your question is yes, this is possible.
I do not know of a way that you can get the field NAMES, however without
hard coding that information as part of your data presentation. So, if you
are looking for a dynamic way to to do this (in the case where you add
additional fields to your table), I am not sure if that is possible.
Sam Masiello
System Analyst
Chek.Com
(716) 853-1362 x289
smasiello@chekinc.com
-----Original Message-----
From: M.vanderMerwe@expro.shell.co.uk
[mailto:M.vanderMerwe@expro.shell.co.uk]
Sent: Tuesday, May 30, 2000 10:58 AM
To: php-general@lists.php.net
Subject: [PHP-GENERAL] looping through fields in a table
<< File: BDY.TXT >> --
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net