Jump to content


Photo

display of date into html text...how ?


  • Please log in to reply
2 replies to this topic

#1 honeyboy_20

honeyboy_20
  • Members
  • PipPip
  • Member
  • 24 posts

Posted 06 October 2006 - 12:33 AM

hello how i can display the result of this code in  <input  type=text>
<?php

$getdate=date("l \\t\h\e jS");
echo $getdate;
?>


#2 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 06 October 2006 - 12:39 AM


example only
<?php

$date=date("d-m-y");

?>

<input type="text" value="<?php echo $date; ?>">


Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#3 honeyboy_20

honeyboy_20
  • Members
  • PipPip
  • Member
  • 24 posts

Posted 06 October 2006 - 12:41 AM

thanks more :D




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users