include/sql_queries.php single SQL fix substituted