 |
|
<? for($i=0;$i<=$numrow1-1;$i++){
echo "<tr><td align='center'><input type='checkbox' name='select_class' "; /></td>";
echo "<td>".mysql_result($result1,$i,"student.studentID")."</td>";
echo "<td>".mysql_result($result1,$i,"student.fname_lao")."
".mysql_result($result1,$i,"student.lname_lao")."</td>";
echo "<td > ????? ".mysql_result($result1,$i,"employee.fname")."
".mysql_result($result1,$i,"employee.lname")."</td><tr>";
$studentcode[$i]=mysql_result($result1,$i,"student.studentcode");
}
?>
$studentcode[$i]=mysql_result($result1,$i,"student.studentcode"); ตอนที่ echo $studentcode[$i] อยู่ใน loop นั้นเห็นค่า แต่พอเอา $studentcode[$i] มาแสดงนอก loop กลับไม่มีค่าส่งมาให้ เป็นเพราะอะไร ช่วยตอบให้หน่อยนะ งงงงงมากกกกกกกเลยตอนนี้นะ
Tag : - - - -
|
|
 |
 |
 |
 |
Date :
2009-06-08 04:38:56 |
By :
noy_it |
View :
1003 |
Reply :
2 |
|
 |
 |
 |
 |
|
|
|
 |