Jump to content

[SOLVED] IF not working


Clinton

Recommended Posts

$locked is correctly echoing yes. So why is this not working?

 

if ($locked == "no"); {
$query = mysql_query("SELECT crat FROM rat WHERE id = '1'");
$row = mysql_fetch_assoc($query);
extract($row);
$query = mysql_query("UPDATE employers SET uprat='$crat', locked='yes'  WHERE username = '$uid'"); }

Link to comment
https://forums.phpfreaks.com/topic/139440-solved-if-not-working/
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.