Will the mysql_query still query my DB if the IF statement is being skipped?
Example:
<?php $var = true; if(!$var){ mysql_query("SELECT column FROM table"); } ?>
No.