query( $query ) ; if ( $mysqli_query->num_rows > 0 ){ $status = '200' ; $mysqli->query( "INSERT INTO staff_handbook ( handbook_id, staff_id ) VALUES ( '".$array['id']."', '".$staff_info['staff_id']."' ) " ) ; } } } require( $require_sub.'footer.php' ) ; ?>