foreach with mysql
| From: | s dot garriock at rgc dot aberdeen dot sch dot uk | Date: | Tue, 11 Mar 2003 13:29:56 +0000 |
| Subject: | foreach with mysql | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-18967@lists.php.net to get a copy of this message | ||
Hi
I am trying to use a FOREACH command to go through a mysql result with 2
columns.
They are ID and name
I need the name one the ID one is just for referrence.
Anyone got the syntax for it?
Thanks tons
From Shaun Garriock
RGC Webmaster
*** The contents of this message are confidential and are intended for the addressee only. The views
expressed in this message do not necessarily represent those of Robert Gordon's College.
Electronic mail transmission is not guaranteed to be secure, therefore, Robert Gordon's College
does not accept liability for the contents of this transmission. This message does not form a legal
binding contract. ***