Hey guys I've run into a problem here. I'm doing a project and one of my query's that should work doesn't. The SQL code works fine if I type it in manually to the SQL commmand line or use PHPmyadmin. For some reason when I use the same code in a PHP query it returns no results. Here it is.
$result = mysql_query("SELECT * FROM product_tbl WHERE 'prod_class' = '2' ") or die("Query Puked");
prod_class is dynamic but it still returns nothing with a static number in there. Taking out the "Where prod_class = 2" and replacing it with WHERE 1. works fine. Any ideas?