aku nok ndi : /home/astwardha/public_html/admin/ |
aku nok ndi : /home/astwardha/public_html/admin/gethideshow.php |
<?php include("includes/connection.php");?> <?php if($_REQUEST['empid']) { $update = mysql_query("UPDATE `syllabus` SET `status`='".$_REQUEST['empid']."' WHERE id='".$_REQUEST['id']."'"); $data = array(); while( $rows = mysqli_fetch_assoc($resultset) ) { $data = $rows; } echo json_encode($data); } else { echo 0; }?>