UPDATE mysql with $_GET variables
$id = $_GET['id'];
$code = $_GET['code'];

mysql_query("UPDATE members SET activated = 1 WHERE id =". $id ."AND code =". $code);



Anybody who can tell me whats wrong with my code.. it just doesn't work...
UPDATE mysql with $_GET variables
===

$id = $_GET['id'];
$code = $_GET['code'];

mysql_query("UPDATE members SET activated = 1 WHERE id =". $id ."AND code =". $code);



Anybody who can tell me whats wrong with my code.. it just doesn't work...