Click to See Complete Forum and Search --> : Update Syntax Error


J0kerz
06-27-2009, 12:31 PM
Hey,

I ma having a syntax error with this mysql_query:

$query = "UPDATE user_profile SET gender='$gender',country='$country',fav_deck='$favdeck',like='$like',dislike='$dislike',aboutme='$ab outme',win_quote='$winquote' WHERE username='".$_SESSION['username']."'";

mysql_query($query)or die(mysql_error());

Everything seems fine, where is there error?

Thanks,
;)

J0kerz
06-27-2009, 01:26 PM
NVM, it is just that the "like" variable wasnt working properly.