note 10056 added to mysql_result
| From: | jcl at swcp dot com | Date: | Sun, 10 Dec 2000 21:22:37 +0000 |
| Subject: | note 10056 added to mysql_result | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8597@lists.php.net to get a copy of this message | ||
How in the world do you use mysql_result() to select a cell from a joined table?
Or, rather, what is the appropriate syntax?
I tried the following
$var=mysql_result($result,$a,"p.name");
But it didn't seem to work.
http://www.php.net/manual/function.mysql-result.php