hello , i create a script for messaging system and that url is look like http://localhost/message/view_message.php?frm=antu here the url is okay but if i submit this url like http://localhost/message/view_message.php?frm=antu' << so its show me an error that is mysql error how can i solve this probem . please tell me any idea
i need a little more information then just this. what is the mysql error? have you made sure that there is actual data in the specific table / field within the database that you are getting the information from? are you using xampp / mysql yog to create and test it?
the error/warning is Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in F:\xampp\htdocs\css\messages.php on line 406 and i am using xampp @matt bro
That means that mysql_query() returned false, that may have happened because you hadn't actually connected to the mysql server. You should post some of your code(the connection and query part).