this line is not working update quer is not workind : $q = mysql_query("UPDATE `payment_details` SET `txnid`='{$txnid}',`amount`='{$amount}',
`email`='{$email}',`firstname`='{$firstname}',`phone`='{$phone}',`productinfo`='{$productinfo}'  
   WHERE `id`='{$id}' ") OR die(mysql_error());