WampServer
Apache, PHP, MySQL on Windows
Home forum
Back to WampServer
presentation
Downloads
Addons
Trainings
Alter Way
Go to Topic:
Previous
•
Next
Go to:
Forum List
•
Message List
•
New Topic
•
Search
•
Log In
•
Print View
date() not visible
Posted by:
kshet26
(208.59.92.---)
Date: April 12, 2006 07:10PM
i have this: <? echo date("Y"
;?> and it works on my actual online server but nothing gets displayed when I use wamp. Any tips on what I can do to fix this?
Options:
Reply
•
Quote
Re: date() not visible
Posted by:
roms
(131.107.59.---)
Date: April 12, 2006 07:26PM
don't use short_open_tags (ie <?) but full tags : <?php
Romain
Romain
Options:
Reply
•
Quote
Re: date() not visible
Posted by:
kshet26
(208.59.92.---)
Date: April 12, 2006 07:29PM
Yeah I just figured that out
thanks!!
Options:
Reply
•
Quote
Re: date() not visible
Posted by:
TheKillerR
(---.rdsnet.ro)
Date: March 26, 2010 05:45PM
Hello This is my first post here xD
Sry for bumping this old thread..
but Is there a way of making the <? ?> Tags work also?
Options:
Reply
•
Quote
Re: date() not visible
Posted by:
c2dan
(---.15-1.cable.virginmedia.com)
Date: March 26, 2010 05:52PM
to turn short tags on left click wamp tray icon and go to PHP > settings > short open tag
Options:
Reply
•
Quote
Re: date() not visible
Posted by:
TheKillerR
(---.rdsnet.ro)
Date: March 26, 2010 05:57PM
Thanks Dan
Options:
Reply
•
Quote
Go to:
Forum List
•
Message List
•
Search
•
Log In
Sorry, only registered users may post in this forum.
Click here to login