Jump to content

unable to update mysql


xanie

Recommended Posts

I've check all the values but still it is unable to update mysql data..

 

help pls.. thanks a bunch..

 

mysql_query("UPDATE warranty SET
 date_purchased_month ='$month',
 date_purchased_day ='$day',
 date_purchased_year ='$year',
 full_name ='$fullname',
 address	 ='$address',
 city	 ='$city',
 email	 ='$email',
 gender	 ='$gender',
 age_group ='$agegroup',
 model	 ='$model',
 lens	 ='$lens',
 frame	 ='$frame',
 price_paid ='$ppaid',
 how_did_you_hear ='$how',
 where_did_you_buy ='$where',
 performance ='$performance',
 value	 ='$value',
 quality	 ='$quality',
 suggestions ='$suggestions'

 WHERE warranty_id ='$id'")or die(mysql_error("Unable to edit");

Link to comment
https://forums.phpfreaks.com/topic/274507-unable-to-update-mysql/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.