Hello,

This is a reply to an e-mail that you wrote on Tue, 29 Jul 2003 at
21:42, lines prefixed by '>' were originally written by you.
> Hi All,
> Can you please help me with the following:
> I've got a form with a field called datebirth[];

According to the rest of your code, it should be called datebirth,
not datebirth[].

> After submitting the form; it must put the datebirth field (or
fields)
> into the mysql format yyyy-mm-dd and after that put it in a
session:
> $date_array = split("-", $_POST['datebirth']);
> $mysqldate =
$date_array[2]."-".$date_array[1]."-".$date_array[0];
> $_SESSION['datebirth'] = array();
> $_SESSION['datebirth'] = $mysqldate;
> This is my code till now but i'm stuck (when proccesing it i'm
only
> getting Array... as output).. Can someone help me?


--
phpmachine :: The quick and easy to use service providing you with
professionally developed PHP scripts :: http://www.phpmachine.com/

          Professional Web Development by David Nicholson
                    http://www.djnicholson.com/

    QuizSender.com - How well do your friends actually know you?
                     http://www.quizsender.com/
                    (developed entirely in PHP)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to