the displayed error message is: * Undefined index: id in C:\wamp\www\phploginsession\person.php on line 17 * mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\phploginsession\person.php on line 21

Sandeep!I am glad you found that one! i can understand that too. Can you help me to get rid f th prob? if i remov .$_GET["id"] and give simply id=1 or any other id no...it works perfectly... i know somewhere im going wrong. please help me find that...

sandeep605085 wrote:I guessthe problem is in line number 17 that is id is not defined.may be id is not posted to this page correctly that why the below query is not working which give again the error at line 21.

you must be posting some data to this page. so the posted data is not including any 'id' parameter that is why the value of $_get['id'] is blank. so please check your posted parameters.ORif you can post the code here then i can help you for sure to fix the issue by looking at the code(the current page code that is person.php and the page which is calling person.php)