I'm fairly new to PHP so bare with me. I know in MySQL, you can SELECT table1.column1 AND table2.column1 WHERE table1.column1 = table2.column1, but how would you go about doing that in PHP using.


while($row = mysql_fetch_array($result)){
}