hey-
ok. I have the following code.
?php
if($submit) {
$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
* Chris Cocuzzo ([EMAIL PROTECTED]) [Dec 27. 2001 03:16]:
hey-
Howdy. With your previous posts on the subject, why do I get the feeling
you're building a time machine? :-)
ok. I have the following code.
?php
if($submit) {
$arradate = explode(/,$date);
$uxdate =
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: $datebr\n);
What PHP version do you use(4.1.0?)
Regards,
Andrey Hristov
- Original Message -
From: Bogdan Stancescu [EMAIL PROTECTED]
To: Chris Cocuzzo [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, December 27, 2001 2:18 PM
Subject: Re: [PHP] This makes NO SENSE!
Most probably you
[EMAIL PROTECTED]
Cc: [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
It is for the author of This makes NO SENSE!
Regards,
Andrey Hristov
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
PROTECTED]
Sent: Thursday, December 27, 2001 7:29 AM
Subject: Re: [PHP] This makes NO SENSE!
What PHP version do you use(4.1.0?)
Regards,
Andrey Hristov
- Original Message -
From: Bogdan Stancescu [EMAIL PROTECTED]
To: Chris Cocuzzo [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent
7 matches
Mail list logo