Questions about learning to program in PHP?
How long does it take to learn how to program in php? Also, do you have to get special software etc. to do it? Or can someone write PHP in a program like Adobe Dreamweaver. Sorry if this is a really dumb question lol. Also, what are the differences in the different versions of PHP such as PHP 2X, 4X, and 5X? Thanks in advance for any answers!
Dreamweaver is very bad at dealing with any server-side script, like Php. Use DW to build your site, then Notepad++ and Php to "make it work".
Php is loosely based on "C", so if you have a little experience of C programming, Php will "look" very similar. It is relatively easy to learn. Go to http://www.php.net to get plenty of examples.
How long does it take to learn it? You can get the basics in a few days. Go to w3schools.com to get started.
There are two ways of running Php:
1. Upload your scripts to a server that has Php enabled (you can then see the results in your browser)
2. Download and install XAMPP on your own machine (google "Apache Friends XAMPP" to get the download. Once installed, you can run php scripts off-line.
you can use notepad if you want, you just need to make sure that you have a server running PHP. Most ISPs support PHP, or you can download XAMPP and run an apache server on your local machine.
PHP 2, 4, etc are depreciated, don’t worry too much about that. In most cases you’ll be working with 5.0+ depending what your server is running.
References :
Well I’m not sure. I pick up a little PHP (as I do with all kinds of web coding) from time to time as I need. Basic php is in the format of <? php code here ?>
Open Dreamweaver, make a new file (with the extension of .php) and you can code in there. It’s not a huge help, but it will tell you if there are syntax errors.
If you want to learn how to code in PHP, you can do Google searches or buy one of the many For Dummies titles on the subject.
References :
If u r fully interested u can learn the entire basics on ur own within 15 hours.. U can use notepad or dreamweaver.. Dreamweaver simplifies ur HTML work
For php to run u need WAMP or XAMPP.. If in linux LAMP… As a beginner u can use WAMP.. U can search to download them..
To know more about PHP and to learn the basics log on to http://www.w3schools.com
PHP is simple… Learn it by doing a simple project..
Best of luck
References :
Dreamweaver is very bad at dealing with any server-side script, like Php. Use DW to build your site, then Notepad++ and Php to "make it work".
Php is loosely based on "C", so if you have a little experience of C programming, Php will "look" very similar. It is relatively easy to learn. Go to http://www.php.net to get plenty of examples.
How long does it take to learn it? You can get the basics in a few days. Go to w3schools.com to get started.
There are two ways of running Php:
1. Upload your scripts to a server that has Php enabled (you can then see the results in your browser)
2. Download and install XAMPP on your own machine (google "Apache Friends XAMPP" to get the download. Once installed, you can run php scripts off-line.
References :