I swear, i tried this syntax before, but it didn't work....
$q1=1;
$query1 = "SELECT * FROM props WHERE id='$q1'";
But, for some reason, I just decided to replace the q1 with a longer variable and replaced it with smu (I know foo is the preferred generic variable, but I thought I'd be different). The end result was:
$smu=1;
$query1 = "SELECT * FROM props WHERE id='$smu'";
Perhaps variables need to be three characters long? I seem to vaguely recall this from when I first learned perl, a millennia ago.