Now, you known to setup a webserver.
With XAMPP, you go to htdocs directory and create a php file like hello.php
edit it with notepad:
echo "This is my first code PHP";
?>
Save it.
Now, test your code. You must start XAMPP first, then run this code
go to http://localhost/hello.php
You 'll see This is my first code PHP on the webpage
Is it easy for you ? Then you should know some basic HTML tags. Find them on Google
Note: Google make me lazy but great. I know many things from it.
No comments:
Post a Comment