Server IP : 184.154.167.98 / Your IP : 18.117.145.41 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/puertode/public_html/libreria/ |
Upload File : |
<?php require_once 'connect.php'; $q_student = $conn->query("SELECT * FROM `student` WHERE `student_no` = '$_REQUEST[student_id]'") or die(mysqli_error()); $f_student = $q_student->fetch_array(); ?> <div class = "col-lg-3"></div> <div class = "col-lg-6"> <form method = "POST" action = "edit_student_query.php?student_id=<?php echo $f_student['student_id']?>" enctype = "multipart/form-data"> <div class = "form-group"> <label>ID Estudiante:</label> <input type = "text" name = "student_no" value = "<?php echo $f_student['student_no']?>" required = "required" class = "form-control" /> </div> <div class = "form-group"> <label>Primer nombre:</label> <input type = "text" name = "firstname" value = "<?php echo $f_student['firstname']?>" required = "required" class = "form-control" /> </div> <div class = "form-group"> <label>Segundo nombre:</label> <input type = "text" name = "middlename" value = "<?php echo $f_student['middlename']?>" placeholder = "(Optional)" class = "form-control" /> </div> <div class = "form-group"> <label>Apellidos:</label> <input type = "text" required = "required" value = "<?php echo $f_student['lastname']?>" name = "lastname" class = "form-control" /> </div> <div class = "form-group"> <label>Curso:</label> <input type = "text" required = "required" value = "<?php echo $f_student['course']?>" name = "course" class = "form-control" /> </div> <div class = "form-group"> <label>Año / Sección</label> <input type = "text" maxlength = "12" name = "section" value = "<?php echo $f_student['section']?>" required = "required" class = "form-control" /> </div> <div class = "form-group"> <button class = "btn btn-warning" name = "edit_student"><span class = "glyphicon glyphicon-edit"></span> Guardar Cambios</button> </div> </form> </div>