Can't see php in anyscript but your index.php
Posted by: ratnight (---.dhcp.embarqhsd.net)
Date: December 06, 2007 01:40PM

I have trie to do this in all way possible but can't get php to work. It wil show your page but that is it. i have tried extentions .php .phtml (without the html tags) . html n . htm. please help Im stuck the fallowing is the script easy but effective to ee if it will work.

<html>
<body>
Hello World<br>

<?php
"Hello World";
?>

</body>
</html>

Options: ReplyQuote
Re: Can't see php in anyscript but your index.php
Posted by: yfastud (Moderator)
Date: December 06, 2007 10:06PM

You missing echo there, so it should be

<html>
<body>
Hello World<br>

<?php
echo "Hello World";
?>

</body>
</html>

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Can't see php in anyscript but your index.php
Posted by: ratnight (---.dhcp.embarqhsd.net)
Date: December 06, 2007 10:42PM

sorry im a retard figured that out i was writein it as a var.
Thanks for your help

Options: ReplyQuote


Sorry, only registered users may post in this forum.