<?php include("config.php"); ?> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <script src="SpryAssets/SpryValidationConfirm.js" type="text/javascript"></script> <link href="SpryAssets/SpryValidationConfirm.css" rel="stylesheet" type="text/css" /> </head> <?php //$garda = mysql_query("SELECT user_login FROM login "); //$_SESSION['user'] = $garda['user_login']; $q = "SELECT * FROM course "; $result= mysql_query($q); $qaom = "SELECT course_year FROM yearcorse "; $mawin= mysql_query($qaom); $pimsung = 1; ?> <table width="489" border="1"> <tr> <td width="104">BB </td> <td width="100">AA</td> </tr> <?php while($gard = mysql_fetch_assoc($result)) { ?> <tr> <td><?php echo"<input type='checkbox' name='name[]' value='".$gard['name_course']."' />".$gard['name_course']; ?></td> <td><?php while($pimsung = mysql_fetch_assoc($mawin)) { echo"<input type='checkbox' name='year[]' value='".$pimsung['course_year']."' />".$pimsung['course_year'];$pimsung++;} ?></td> <?php $pimsung++; }?> </tr> </table>
<?php include("config.php"); $sql = "SELECT * FROM course "; $result= mysql_query($sql); while($row = mysql_fetch_assoc($result)){ $course[] = $row; } $sql = "SELECT course_year FROM yearcorse "; $result= mysql_query($sql); while($row = mysql_fetch_assoc($result)){ $yearcorse[] = $row; } foreach($yearcorse as $i => $item){ $year .= '<input type="checkbox" name="year[]" value="'.$item.'">'.$item.'"<br>'; } ?> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <script src="SpryAssets/SpryValidationConfirm.js" type="text/javascript"></script> <link href="SpryAssets/SpryValidationConfirm.css" rel="stylesheet" type="text/css" /> </head> <?php ?> <table width="489" border="1"> <tr> <td width="104">BB </td> <td width="100">AA</td> </tr> <tr> <?php foreach($course as $i=> $item){?> <td><input type="checkbox" name="name[]" value="<?php echo $item['name_course']?>"><?php echo $item['name_course']?></td> <td><?php echo $year;?></td> <?php } ?> </tr> </table>
<?php include("config.php"); $sql = "SELECT * FROM course"; $result= mysql_query($sql); while($row = mysql_fetch_assoc($result)){ $course[] = $row; } $sql = "SELECT course_year FROM yearcorse "; $result= mysql_query($sql); while($row = mysql_fetch_assoc($result)){ $yearcorse[] = $row; } foreach($yearcorse as $i => $item){ $year .= '<input type="checkbox" name="year[]" value="'.$item['course_year'].'">'.$item['course_year'].'"<br>'; } ?> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <script src="SpryAssets/SpryValidationConfirm.js" type="text/javascript"></script> <link href="SpryAssets/SpryValidationConfirm.css" rel="stylesheet" type="text/css" /> </head> <table width="489" border="1"> <tr> <td width="104">BB </td> <td width="100">AA</td> </tr> <tr> <?php foreach($course as $i=> $item){?> <td><input type="checkbox" name="name[]" value="<?php echo $item['name_course']?>"><?php echo $item['name_course']?></td> <td><?php echo $year;?></td> <?php } ?> </tr> </table>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง