<?
include("StartConnect.inc");
$SQL "SELECT * FROM StudentMaster, StudentBio  WHERE (studentId='492101001') and (StudentMaster.studentId=StudentBio.studentId)";

$table mysql_query($SQL,$Conn) or die("ไม่สามารถเรียกดูข้อมูลในเทเบิล StudentMaster ได้");
        while(
$row mysql_fetch_array($table))
        {
                    
$Fullname $row["StudentMaster.StudentName"];
                    echo 
"$StudentName";
        }
?>