$Sql2="Select std_extra_job.std_id,student1.std_name, student1.std_surname,student1.std_tel, std_extra_job.state, std_extra_job.backup_state ,std_extra_job.submit_date,std_extra_job.submit_time From student1, std_extra_job Where ((std_extra_job.extra_job_id=".$extra_id.") and (student1.std_id=std_extra_job.std_id)) Order by std_extra_job.submit_date, std_extra_job.submit_time";
$App= mysql_query($sql2);
$rsApp=mysql_fetch_array($App);
ทำไมพอรันแล้ว มันฟ้อง Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\student\extra_jobs_data.php on line 51
$Sql2="Select std_extra_job.std_id inner join student1.std_name on std_extra_job.extra_job_id='$extra_id' and student1.std_id=std_extra_job.std_id Order by std_extra_job.submit_date, std_extra_job.submit_time";