How do I turn the following 2 queries into 1 query
$sql = \"SELECT level FROM skills WHERE id = $id LIMIT 1;\"; $result = $db->sql_query($sql); $level = (
Mat: That's what pasted in from the question. It hasn't been edited, so I attribute that to a bug in Markdown. But, oddly enough, I have noticed.
Also: yes, mysql_escape_string()!
mysql_escape_string()