Hello Rolan, Friday, March 14, 2008, 1:30:36 PM, you wrote:
> Correction: > if ($POST['year']) { > > $_POST['birthdate']=$_POST['year'].'-'.$_POST['month'].'-'.$_POST['day']; > } Thanks Rolan, I appreciate the suggestion. For some reason that variable is not getting updating even with your suggestion. The print_r results just before the $ret = ob_get_contents(); are as follows: Array ( [ID] => test [Password] => test [birth_trial] => 1 [birthdate] => -- [year] => 1933 [month] => 01 [day] => 01 ) If I enter the input again, it works perfectly. Because it redirects to another page, it clears the $_POST array so I can't check what was in it to cause it to work? Thanks for the idea anyway. -- Best regards, mikesz mailto:[EMAIL PROTECTED] _______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php