0){ if(mysql_num_rows($getRecord)) { // ---------------------------------------------------------------- // // AJAX Response // // ---------------------------------------------------------------- // // Change php echo $row['name']; and $row['department']; with the // // name of table attributes you want to return. For Example, if you // // want to return only the name, delete the following code // // "
"// // You can modify the content of ID element how you prefer // echo ''; } } ?>