I have tried everything I can think of to get query to recognize the WHERE clause.
$sn equals H-001 and sn is the column name
Here is the query:
$result = mysql_query("SELECT * FROM `insp` WHERE sn = $sn") or die(mysql_error());
I can get everything off the table if I don't use the WHERE clause. I can get the result if I make $sn a straight number with no letters of hyphen. I think I need something for the WHERE to recognize H-001 as a string.