note 39161 added to function.mysql-fetch-row
| From: | passenger at nomail dot xyz | Date: | Mon, 19 Jan 2004 11:13:18 +0000 |
| Subject: | note 39161 added to function.mysql-fetch-row | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-63822@lists.php.net to get a copy of this message | ||
--> 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.
----
Manual Page -- http://www.php.net/manual/en/function.mysql-fetch-row.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39161
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39161&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39161&report=yes
Search -- http://master.php.net/manage/user-notes.php