Q How can we create a PHP enabled Page ?

May 31, 2010 | Filed Under PHP | Comments Off

Ans: Firstly-
Create a file named hello.php and put it in your web server’s root
Directory  (DOCUMENT-ROOT).
Example:

<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo ’<p>Hello World</p>’; ?>
</body>
</html>

Comments

Comments are closed.

© PHPInterviewQuestion.com 2009 - 2012

eXTReMe Tracker