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
php code does't work
Posted by:
avishek
(---.63.79.202.ether.static.wlink.com.np)
Date: August 12, 2011 04:59AM
i have installed wamp 2.1 in windows vista 32-bit OS. the versions are matching. but when i try to code php in html, it does not work.
e.g
<html>
<head><title/></head>
<body>
<?php echo'hello there!'; ?>
</body>
</html>
Please suggest me the idea.
Options:
Reply
•
Quote
Re: php code does't work
Posted by:
toivo
(---.belrs4.nsw.optusnet.com.au)
Date: August 13, 2011 03:23AM
Call the file index.php and change line starting with <head> to the following and it should work:
<head><title>Testing </title></head>
Options:
Reply
•
Quote
now it does work
Posted by:
avishek
(---.63.79.202.ether.static.wlink.com.np)
Date: August 13, 2011 05:38AM
thankyou, my friend.
Options:
Reply
•
Quote
Re: php code does't work
Posted by:
yfastud
(Moderator)
Date: August 14, 2011 03:07AM
Or you have to setup to embed and run PHP script in HTML files
Have fun,
FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides
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