mdvignesh Posted March 10, 2011 Share Posted March 10, 2011 Warning: mysql_query() expects parameter 1 to be string, resource given in C:\wamp\www\mariyano\profile.php on line 37 Help me to solve this problem I just want to display the datas in table Thanks in advance [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted March 10, 2011 Share Posted March 10, 2011 Please post the code between tags. Ken Quote Link to comment Share on other sites More sharing options...
HuggieBear Posted March 10, 2011 Share Posted March 10, 2011 Remove lines 37 - 42 and replace line 28 with this: if (!$qry = mysql_query("SELECT * FROM pro")){ die('error ' . mysql_error()); } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.