Page 1 of 1

Help.

Posted: Sun Sep 12, 2010 7:52 pm
by ScottCFR
I am creating blogging software, so I can be original. I want the user and the date posted at the bottom but all I get is "Posted by: $user on $date". Can someone help me?

Code: Select all

<input name="info" type="hidden" value="Posted by: <?php echo $user ?> on <?php echo $date ?>" />

Re: Help.

Posted: Sun Sep 12, 2010 7:56 pm
by angelicodin
~giggle~ you are forgetting a ";" to end the line of php code.

Re: Help.

Posted: Sun Sep 12, 2010 7:58 pm
by ScottCFR
OMG, I feel so stupid. I've looked at it for hours.

Thanks a lot.