I had some code which wasn't working:
mysql_query("UPDATE pracs SET name='{$name}', email='{$email}', webaddr='{$webaddr}', phone='{$phone}', level='{$level}', lineages='{$lineages}', description='{$desc}', password='{$password}' WHERE id={$id}");In debugging the code I found that the correct values were reaching this statement, but the database wasn't being updated with the new values. Huh?
Well, the official documentation at http://www.php.net/manual/en/function.mysql-query.php says
// Formulate Query
// This is the best way to perform a SQL query





