Hi again, SO i followed what Houdini said so my user can now enter the date as d/m/y
but where / how do i flip it around again so results from my table comes out as d/m/y n not as y/m/d
if (!empty($_POST["f_name"]) && !empty($_POST["birth_d"])) {
$f_name=$_POST["f_name"];
$birth_d=$_POST["birth_d"];
//$myinput='12/15/2005';
$birth_d=date('Y-m-d',strtotime($birth_d));
$stmt = $this->db->prepare('SELECT id,card_num,birth_d, FROM school WHERE f_name=? AND birth_d=?');
$stmt->bind_param("ss",$f_name,$birth_d);
$stmt->execute();
$stmt->bind_result($id,$school,$birth_d,$f_name);