Re: This makes NO SENSE!!!!!
| From: | Bogdan Stancescu | Date: | Thu, 27 Dec 2001 12:18:02 +0000 |
| Subject: | Re: This makes NO SENSE!!!!! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-78831@lists.php.net to get a copy of this message | ||
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"> //name of file is
> strtotime.php
> <input type="text" name="date" size="30">
> <input type="submit" name="submit" value="submit">
> <?
> }
> ?>