Re: mysql question
| From: | Per Jessen | Date: | Sun, 10 Feb 2008 18:03:45 +0000 |
| Subject: | Re: mysql question | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-269046@lists.php.net to get a copy of this message | ||
Nathan Nobbe wrote:
>> > what is $ret, an array?
>>
>> No, it's a mysql result object.
>>
>
> no, its the contents of the first cell in the first record of the
> result set; from the doc on mysql_result(),
> http://www.php.net/manual/en/function.mysql-result.php
> which is what the function is using.
Yep, you're right - I read mysql_query where the OP said mysql_result.
Ignore the rest of my previous answer too.
/Per Jessen, Zürich