$employee="active"; $caller1="open"; $add_employee="active"; require_once '../template/superadmin/action_connection.php' ; include("../settings/adminsession.php"); session_start(); $conn = mysqli_connect('localhost', 'drganbug_medine', '0AC]Q~*TN!8o', 'drganbug_medine'); $emp_id = $_REQUEST['emp_id']; $get_emp = mysqli_query($conn, "select * from tbl_employee where id='$emp_id'"); $set_emp = mysqli_fetch_assoc($get_emp); $dateString = null; $timestamp = strtotime($set_emp['dor']); if ($timestamp === false) { // Handle the case where strtotime returns false $formattedDate = ''; } else { // Format the date if strtotime is successful $formattedDate = date('d-m-Y', $timestamp); } $convertedString = br2nl($set_emp['address']); ?>