Reference to SQL qyery result ????????
| From: | Evgeny | Date: | Sun, 21 Sep 2003 09:37:19 +0000 |
| Subject: | Reference to SQL qyery result ???????? | ||
| Groups: | php.db php.db | ||
| Request: | Send a blank email to php-db+get-30591@lists.php.net to get a copy of this message | ||
When I run this query in MySqlAdmin the result is 124
but I can't retrieve the result by code
$result = $DB_site->query("SELECT MAX(id) AS ID1 FROM chatbox ");
$rangee = mysql_fetch_assoc($result) ;
$identifiant = $rangee['id1'] ;
What the problem ?
Thank you very much for any help.