Jump to content

Lee303

New Members
  • Posts

    2
  • Joined

  • Last visited

Lee303's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. If your premium field is set as integer type, remove the quotes, leaving: $update_premium = mysql_query("UPDATE members SET premium = 1 WHERE username = '".$username."'");
  2. Hi, Try changing: $update_premium = mysql_query("UPDATE 'members' SET premium='1' WHERE 'username'='".$username."'"); To: $update_premium = mysql_query("UPDATE members SET premium = '1' WHERE username = '".$username."'"); -Lee
×
×
  • 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.