$a = "bob";
mysql_query( 'SELECT Name, Email, Company FROM cust WHERE Name=$a');
Can anyone offer a suggestion or resource to better understand how to slip a php variable inside of an SQL query? No matter what I do, I get an error whenever I try to push a variable into the query.