Learning PHP Now ;)
I am learning PHP now. Here is a basic tutorial on PHP.
What all do you need to learn PHP?
Check the video on how to install
XAMPP from the site.
2.
That’s it! Yes. If you install XAMPP Server for
development, that’s all you need. It allows you to select all that you want to
install : PHP, Perl, MySql etc. Easy to install and use.
Assumptions for the tutorial:
1.
The installation directory for XAMPP is C:\xampp
2.
You have basic HTML Knowledge
3.
Other assumptions will be added as I come across
them :D
Starting you XAMPP:
If you have checked the video on XAMPP Site, you probably
have already started XAMPP and MySql Server.
If you get error like:
www.example.com:443:0
server certificate does NOT include an ID which matches the server name
Restart xampp-control using admin user.
Your first php application can be a really simple one. I
always print “Hello World” in the 1st program I learn of any
language. So lets start:
Save the file as phpProgram.php.
Where to save?
Inside C:\xampp\htdocs, create folder “tutorials”.
Save it there.
Output:
Hit the URL in browser:
First php program is ready!
Comments