Jump to content

[SOLVED] Query insert won't work


thefollower

Recommended Posts

I have a query that even when it runs it still inputs 0 when it shouldn't...i been trying to work it out all day but i cannot see the problem.. no error occurs by the way.

 

$CityID = 1;

$Insert = mysql_query("UPDATE userregistration SET CityID='$CityID' AND CityBorn='$CityID' WHERE UserID='{$_SESSION['Current_User']}'")
or die(mysql_error());

Link to comment
https://forums.phpfreaks.com/topic/83265-solved-query-insert-wont-work/
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.