Jump to content

JOIN WHERE


RON_ron

Recommended Posts

Can someone help to fix this piece of code... Does not work?

$checkStudent = "Malakai";

$query = "SELECT * FROM gifts_db LEFT OUTER JOIN grade_db ON gifts_db.student = grade_db.Student WHERE gifts_db.student = ".$checkStudent;

$results = mysql_query($query);

 

while($line = mysql_fetch_array($results)) {

////

}

Link to comment
https://forums.phpfreaks.com/topic/268351-join-where/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.