Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /srv/disk5/1005747/www/visaonline.tk/signup.php on line 365
I keep getting this error message on my signup page, though the data are created and inserted in the row at the MYSQL table after clicking submit on the page. But instead of connecting to the database to retrieve and display the data, it's giving me above error. Here is the code
359 // echo "QRY=".$query."<br>";
360 if(mysql_query($query))
361 {
362 //echo "Submitted";
363 $qrysel="select user_id from account where user_name='".$user_name."' and password='".$password."' and email='".$email."'";
364 rs_getid=mysql_query($qrysel);
365 $row_id=mysql_fetch_array($rs_getid);
366 $arry=array();
367 $catid_list=array();
I'm a newbie in PHP usage, someone please help me out.
Thanks, Bgmoey