|
Posted by Andy Hassall on 08/09/06 19:23
On 9 Aug 2006 08:36:02 -0700, "monomaniac21" <mcyi2mr3@googlemail.com> wrote:
>i get an error when i try to extract from a mysql_fetch_array variable
>it says: Warning: extract(): First argument should be an array in...
Then you haven't passed it an array? (mysql_fetch_array can return something
other than an array).
>Is this not possible?
You probably also want to use mysql_fetch_assoc insteadn (unless you've set
the result_type parameter to MYSQL_ASSOC), because otherwise it may try to
create variables like $0, $1, $2.
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Navigation:
[Reply to this message]
|