I must need another set of eyes. Something I'm doing isn't right!
Here's my query:
$checkdb = "SELECT * FROM results WHERE game_id='$game_id' AND draw_date='$con_date'";
If I echo out those variables (NC1 and 2009-7-04, respectively), they show up correctly.
If I hard code those numbers in the query, it finds a matching row. If I don't, it finds no matching row.
What am I doing wrong?
Thanks!!