Re: [PHP] Could some one check my code

2003-11-26 Thread John W. Holmes
PAUL FERRIE wrote: i am getting this error returned but i dont know why :( error: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/pferrie/public_html/vinrev/adm/insert2.php on line 6 php file You need to capture the return value of mysql_query(). mysql

Re: [PHP] Could some one check my code

2003-11-26 Thread Eugene Lee
On Wed, Nov 26, 2003 at 11:23:19AM -, PAUL FERRIE wrote: : : i am getting this error returned but i dont know why :( : error: : : Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result : resource in /home/pferrie/public_html/vinrev/adm/insert2.php on line 6 : : php file

Re: [PHP] Could some one check my code

2003-11-26 Thread Sophie Mattoug
PAUL FERRIE wrote: i am getting this error returned but i dont know why :( error: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/pferrie/public_html/vinrev/adm/insert2.php on line 6 php file include("connection.php"); if(!empty($rating)){ $query=

[PHP] Could some one check my code

2003-11-26 Thread PAUL FERRIE
i am getting this error returned but i dont know why :( error: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/pferrie/public_html/vinrev/adm/insert2.php on line 6 php file "; echo"Edit record"; } }else { if(!empty($_FILES['userfile']['t