I had forgot one important component in the PHP programming, the Editor. The editor is very important to help you in efficient programming, it can help you with code-assist, code-complete(tag completion), code alignment, etc..

So now get hold of a good PHP editor(I use Easy-eclipse for PHP), and type in the following code-

<html>
<head>
<title>PHP Test</title>
</head>
<body>

This is an HTML line
<?php
echo “This is a PHP line”;
phpinfo();
?>
</body>
</html>

This is arguably the most popular PHP code. The above code’s output is the complete information about the PHP version you have installed and its modules..
Try it.

About these ads