Might be an easy one for someone.. I've been trying many different combos.
Just can seem to get it right.
Here's the error I get:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''March_Pool' WHERE Field NOT IN 'Dayid'' at line 1
Here is the block of code:
$query_column = "SHOW COLUMNS FROM '$Selected_Month' WHERE Field NOT IN '$columns'";
$result_column = mysql_query($query_column) or die(mysql_error());
$num_column = mysql_num_row($result_column);
mysql_close();
March_pool is "$Selected_Month" and Dayid is specified in "$columns"
Ideas?