Jump to content

Archived

This topic is now archived and is closed to further replies.

honeyboy_20

display of date into html text...how ?

Recommended Posts

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

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

Share this post


Link to post
Share on other sites

example only
[code]
<?php

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

?>

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

[/code]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.