Feb 8, 2004 #1 Sitehelp Technical User Joined Feb 4, 2004 Messages 142 Location GB Hi all! Any ideas how I insert a PHP date function as: <?php $today = date('d-m-Y'); print "$today" ?> into an html text box?????? it is in a form that submits all the boxes together in to one record in a database. Cheers!
Hi all! Any ideas how I insert a PHP date function as: <?php $today = date('d-m-Y'); print "$today" ?> into an html text box?????? it is in a form that submits all the boxes together in to one record in a database. Cheers!
Feb 8, 2004 Thread starter #2 Sitehelp Technical User Joined Feb 4, 2004 Messages 142 Location GB actually ignore that I have it working now, for anyone intersted just insert the PHP into the HTML for the text box as: value="<?php echo "$today"; ?>" for example. Upvote 0 Downvote
actually ignore that I have it working now, for anyone intersted just insert the PHP into the HTML for the text box as: value="<?php echo "$today"; ?>" for example.