[Solved] I have error in folloing code of php for update [closed]


Use , instead of set between each fields. Use this altered query,

('UPDATE Registration SET name="'.$_POST['Username'].'" , password="'.$_POST['Password'].'" , city="'.$_POST['City'].'" , state="'.$_POST['State'].'" , country="'.$_POST['Country'].'" WHERE id='.$_POST['user_id']);

1

solved I have error in folloing code of php for update [closed]