note 39161 deleted from function.mysql-fetch-row by betz
| From: | betz@php.net | Date: | Mon, 19 Jan 2004 11:47:57 +0000 |
| Subject: | note 39161 deleted from function.mysql-fetch-row by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-63825@lists.php.net to get a copy of this message | ||
Note Submitter: passenger@nomail.xyz
----
--> the one above is quite exhaustive and instructive but risky for loops,
a have a simple thing :
$data = mysql_fetch_row($_connection_stuff,$database,$SQLquery);
as it returns an array, simply pick out the ones you need
for html makeup or other rendering like this :
print ("<tags> $data[integer_of_wanted_data_in_array]</tags>");
and use others one for other things.