<?php $test= 2; $asd = "03/19/1988"; list($dd,$mm,$yyyy) = explode('/',$asd); echo $dd.','.$mm.',',$yyyy; if (!checkdate($mm,$dd,$yyyy)) { $error = true; }
You have javascript disabled. You will not be able to edit any code.