Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
1.73/5 (3 votes)
See more:
Hi,
I am very new to PHP .
can any ne tell me how to strat and what to download for PHP and where to write php code?

Help me!![confused]
Posted

umm try the official php website[^] which includes all the documentation as well.

 
Share this answer
 
Comments
Mohibur Rashid 14-Aug-12 6:44am    
Its a good site for advance programmer for reference but not for beginner .
To start programming in PHP you need to have a text editor such as notepad, notepad++ for MS Windows users, GEdit, Vi, Nano, Emacs for Linux. You will also need to understand at least HTML. If you have that already, it's now appropriate to begin by understanding the PHP Syntax.
You will also need to have a good PHP Server. A good package already exists for this. Check XAMPP, WAMP, LAMP, and MAMP servers; where XAMPP is for all modern operating systems, WAMP is for windows, LAMP is for Linux, and MAMP is for Macintosh. Check Apache Friends website for your preferred Server.
PHP
<?php

?>

This illustrates the opening and closing tag for all php scripts.
Then you need to understand the data types supported by php.
Since you are new to php, I would refer you to the official documentation for PHP at http://www.php.net/docs.php
 
Share this answer
 
v2
Comments
Mohibur Rashid 14-Aug-12 6:37am    
I love the suggestion with notepad++ :), I gave 5 reading only that :)

But for the users help, if you can connect with ssh then you can directly write code on linux machine from your windows machine using only notepad++.
In order to get more resources, take a look at EasyPHP[^], a good server and environment to work in Windows.

Keep in mind that if you plan to develop in Windows and deploy it in Linux, in Linux the file names are case sensitive so you will need to be sure that your names are written consistently.

See those resources:
http://www.php.net/[^]
http://www.w3schools.com/php/default.asp[^]

Good luck!
 
Share this answer
 
Hi along with everyone else suggestion:- I will suggest you a book. As far I know indian version is available in India.
Beginning PHP, Apache, MySQL web development
by
Michael Glass,
and 5 other writers
 
Share this answer
 
Comments
Patrice T 17-Oct-18 15:19pm    
Only 6 years too late.
Mohibur Rashid 17-Oct-18 20:35pm    
This answer was posted in 2012, what's your point here?
Patrice T 17-Oct-18 20:47pm    
ooops my bad.
Mohibur Rashid 17-Oct-18 22:41pm    
:)


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900