MySQL query fails
-
Trying to modify the header.php file. Have added the following:
$q1=mysql_query(“SELECT * FROM ‘table_name’ WHERE ‘type’=’1’ AND ‘cat’=’.$post->ID.’ “);
When I do a var_dump($q1); I get FALSE. What am I missing here?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘MySQL query fails’ is closed to new replies.