07
Sep
stored in: PHP/MYSQL
If your wanting to learn php then your going to have to learn the basic’s first, and in every programming language theres always the basic ‘Hello World’ where it should display ‘Hello World’ either on the web page or in a software program. So today ill start with the ‘Hello World’Â
<?phpÂ
echo ‘Hello World’;Â
?>Â
Now change the worlds in between the two ‘ and it will display any message you like. Try it
Remember to run a php file on your server save the file as filename.php (replace filename with any other name) then just go to http://yourdomain.com/filename.phpÂ
Hopefully you have learnt how to create and run a very simple and basic php file.
Leave a Reply
You must be logged in to post a comment.