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.
--
PHP
On Sunday 21 September 2003 17:37, Evgeny wrote:
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
Thank you, I'll try.
I'm very very new (just 4 hours :)) in php programming.
Thank you again.
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
Newsgroups: php.db
To: [EMAIL PROTECTED]
Sent: Saturday, September 20, 2003 4:19 PM
Subject: Re: [PHP-DB] Reference to SQL qyery result
I need all the referece Offline Of PHP, where is this?.
regards
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]