Runing Text

Do not Click

Basic PHP Programming

Wednesday 20 January 2010 , Posted by Andi at 01:46

Rules in the PHP code, beginning with a <?php and ends with the sign ?> block PHP always flanked by a second sign. For each command will end with a sign; (semicolon). The following example PHP code.

< ? php
echo "Hello World";
? >



To try this code, we need an editor in this case the author uses the editor komodo dragons, and then type the php code. And do not forget to be stored in the folder C: \ Wamp \ www \ testphp \ and the file named hello.php and testphp.kpf project name. Next live run hello.php file via the browser as follows: http://localhost/testphp/hello.php ..

Currently have 0 komentar:

Leave a Reply

Post a Comment

Related Post