Doh! Thank you! I feel so dumb now XD It still doesnt work though...the output, I mean.
cafrow, although that would work, i'm trying to select the entire row in those two tables where the $var_id is the same in each of their id columns. Here is what it looks like right now...
$query="SELECT * FROM table1, table2 WHERE table1.id = '$var_id' AND table2.id = '$var_id'";
$result=mysql_query($query) or die ("Could not execute query : $q." . mysql_error());
while ($row = mysql_fetch_array($result)) {
$var = $row['column'];
echo("$var");