$query = mysql_query($sql) or die("$sql_error" . mysql_error());
this is what i am using to generate an error if the MySQL query fails, but instead of generating an error and die'ing, i want to assign data to a variable and keep the script running....
so if I wanted to $query = mysql_query($sql) OR $variable = 1;
how would i code that properly? I am getting a syntax error...
thanks!