Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001122

Re: [PHP] This makes NO SENSE!!!!! From: Andrey Hristov (ahristov <email protected>)
Date: 12/27/01

What PHP version do you use(4.1.0?)

Regards,
Andrey Hristov
----- Original Message -----
From: "Bogdan Stancescu" <mgv <email protected>>
To: "Chris Cocuzzo" <cuzo <email protected>>
Cc: <php-general <email protected>>
Sent: Thursday, December 27, 2001 2:18 PM
Subject: Re: [PHP] This makes NO SENSE!!!!!

> Most probably you have some kind of slashing in there. Check it out by also
> echoing $date from php and if nothing looks wrong, take a look at the source
> code.
>
> HTH
>
> Bogdan
>
> Chris Cocuzzo wrote:
>
> > hey-
> >
> > ok. I have the following code.
> > <?php
> >
> > if($submit) {
>
> echo("Input date: $date<br>\n");
>
> >
> > $arradate = explode("/",$date);
> > $uxdate = mktime(0,0,0,$arradate[0],$arradate[1],$arradate[2]);
> > print $uxdate;
> > }
> > else {
> > ?>
> > <form action="strtotime.php" method="POST"> file://name of file is
> > strtotime.php
> > <input type="text" name="date" size="30">
> > <input type="submit" name="submit" value="submit">
> > <?
> > }
> > ?>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>