$query=("SELECT * FROM survey01 WHERE int_id='".$user."'");
$surveyq = mysql_query($query) or die(mysql_error());
$info = mysql_fetch_array($surveyq) or die(mysql_error());
$update = ("UPDATE survey01 SET id_use = '".$unique."' WHERE int_id = '".$user."'");
$done = mysql_query($update) or die(mysql_error());
The script above is meant to update “id_use” and also return an array $info[].
Neither of which are working. No error appears on the screen, although the script does stop running.