I kind of new to php but, I tried to output the date function and I got an error here is a sample of what I did: <? print date(); ?>
did I do somthing wrong??
the date() function requires a string format. Check out the php manual for the format you want. for example: print (date("l dS of F Y h:i:s A"));
string date (string format [, int timestamp])
If you don't pass a timestamp, it uses the current time.