mysql_fetch_array problem...!
| From: | Trond Erling Hundal | Date: | Mon, 05 Mar 2001 12:56:07 +0000 |
| Subject: | mysql_fetch_array problem...! | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-7119@lists.php.net to get a copy of this message | ||
I want to run a query to my db, fetching different fields from three
different tables.
In order to recognise the individual fields I give them names:
select portal.portal as portal, portal.portalid as id... etc etc
How can I refer to one specific row in this query..?
What I mean is, how can i refer to result row number 4...?
If I only selected rows from one table I could do something like this:
$i = mysql_fetch_array($sql) ;
echo "$i[4]" ;