<? $count=0; include "Conection.php"; $sql="select * from assessment_quality where topic_quality_set='$select1' "; $result=mysql_query($sql); while($record=mysql_fetch_array($result)) { $count++; echo "ข้อที่ $count.)"; echo" "; echo"$record[topic_quality_text]<br>"; echo"<BR> <INPUT TYPE='radio' NAME='$record[topic_quality_id]' VALUE='100'> ดีมาก <BR><BR> <INPUT TYPE='radio' NAME='$record[topic_send_id]' VALUE='75'> ดี <BR><BR> <INPUT TYPE='radio' NAME='$record[topic_quality_id]' VALUE='50'> ปานกลาง <BR><BR> <INPUT TYPE='radio' NAME='$record[topic_quality_id]' VALUE='25'> น้อย <BR><BR> <INPUT TYPE='radio' NAME='$record[topic_quality_id]' VALUE='0'> ควรปรับปรุง "; echo"__________________________________________________________ <br><br>"; } //mysql_close(); ?> <label></label> </p> <p class="style32"> </p> <p class="style34">การประเมินด้านการส่งมอบ (ชุดแบบประเมินที่ใช้ <? echo"$select2"; ?>) </p> <p class="style32"><? $count=0; include "Conection.php"; $sql2="select * from assessment_send where topic_send_set='$select2' "; $result2=mysql_query($sql2); while($record=mysql_fetch_array($result2)) { $count++; echo "ข้อที่ $count.)"; echo" "; echo"$record[topic_send_text]<br>"; echo"<BR> <INPUT TYPE='radio' NAME='$record[topic_send_id]' VALUE='100'> ดีมาก <BR><BR> <INPUT TYPE='radio' NAME='$record[topic_send_id]' VALUE='75'> ดี <BR><BR> <INPUT TYPE='radio' NAME='$record[topic_send_id]' VALUE='50'> ปานกลาง <BR><BR> <INPUT TYPE='radio' NAME='$record[topic_send_id]' VALUE='25'> น้อย <BR><BR> <INPUT TYPE='radio' NAME='$record[topic_send_id]' VALUE='0'> ควรปรับปรุง "; echo"__________________________________________________________ <br><br>"; } //mysql_close(); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <? $group = $_POST[$record[topic_quality_id]]; include "Conection.php"; for($i=0;$i<count($group);$i++){ $sql = "insert into asseement_save values(NULL,NULL,'$group[$i]',NULL,NULL,NULL)"; $result = mysql_query($sql); //echo $sql; //echo $group[$i]; //echo "<br>"; } if($result) echo"สำเร็จ"; else echo "ไม่สำเร็จ"; ?> </body> </html>
<? $count=0; $count2=0; $i=0; $i2=0; include "Conection.php"; $sql="select * from assessment_quality where topic_quality_set='$select1' "; $result=mysql_query($sql); while($record=mysql_fetch_array($result)) { $id=$record[topic_quality_id]; $count++; $count2++; //$j=$x[$id]; echo "ข้อที่ $count.)"; echo" "; echo"$record[topic_quality_text]<br>"; echo"<BR> <input name='y[$i]' type='text' value='$record[topic_quality_text]' ><br> <INPUT TYPE='radio' NAME='x[$i]' VALUE='100'> ดีมาก <BR><BR> <INPUT TYPE='radio' NAME='x[$i]' VALUE='75'> ดี <BR><BR> <INPUT TYPE='radio' NAME='x[$i]' VALUE='50'> ปานกลาง <BR><BR> <INPUT TYPE='radio' NAME='x[$i]' VALUE='25'> น้อย <BR><BR> <INPUT TYPE='radio' NAME='x[$i]' VALUE='0'> ควรปรับปรุง<br> "; //echo"$record[topic_quality_id]"; echo"__________________________________________________________ <br><br>"; $i++; } //mysql_close(); ?><input name="as" type="text" value="<? echo"$count"; ?>"/> <label></label> </p> <p class="style32"> <label> <input type="submit" name="Submit2" value="Submit" />
<? include "Conection.php"; //$sd=$_POST["x$i"]; for($i=0;$i<$textfield;$i++){ echo "$y[$i]<br>"; echo "$x[$i]<br>"; <br><br> //echo"งงนะนิ"; } ?>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง