Quantcast
Channel: Topic Tag: MySQL | WordPress.org
Viewing all articles
Browse latest Browse all 5540

LDMartin1959 on "MySQL query fails"

$
0
0

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 all articles
Browse latest Browse all 5540

Trending Articles