Best ways to learn PHP quickly?

Marc0

Well-known member
Registered
Joined
Jun 6, 2012
Messages
890
Points
28
Hi,

Php is more and more popular thus I am going to learn PHP now, but I don't know where to begin and fast ways to learn PHP efficiently so anyone can suggest me some ways ?

Thank you.
 

James159

Member
Registered
Joined
Aug 31, 2012
Messages
19
Points
0
If you know the basic of PHP language then you should visit w3schools where you will easily learn PHP or other langugaes.
 

Inquestor

Well-known member
Registered
Joined
Feb 1, 2013
Messages
215
Points
0
Yes, W3Schools is good.

Get yourself a host, or use WAMP on your laptop / desktop to test with PHP functionality. Use PHP.NET to search for different functions and learn how arrays be very useful.

Just for fun, I will do a little coding here.

<?php

// This is a comment

/* This is a long tail comment
You can explain as much as you want about your code
And it will not be rendered by the PHP Pre Processor
Just make sure you end it ! */

/* Below Is A Little Script To Welcome New Users To WMS */

/* Note: I have not included connection to db, this is a very simple procedure that can be learned at W3Schools. */

// Define welcome message
$welcome_message = "Welcome To Webmater Sun";

// Get IP From User
$ip = $_SERVER['REMOTE_ADDR'];

// Set timestamp
$time = time();

// Check if ip exists in db
$selectIp = mysql_query("SELECT * FROM ips WHERE ip='$ip'");

// Count how many results are returned
$count = mysql_num_rows($selectIp);

// If no rows are returned, enter ip into db and echo message
if($count == "0") {

// Insert IP into db
$insertIP = mysql_query("INSERT INTO ips (ip, added) VALUES ('$ip', '$time')")

// Echo message, notify user
echo $welcome_message;

// IP already exists, no need to welcome
} else {

// Do Nothing

// However, you could add a count and +1 to every visit from IP

}

?>

Well I had my fun for now!

Cheers!
Inquestor
 

fathimasincy

New member
Registered
Joined
Oct 11, 2013
Messages
11
Points
0
IN net various sources available for learning PHP, Refer various sources in same time that means, search in google open links in multi tab read and compare with other description in same topic.
 

Aalia Nebhan

Member
Registered
Joined
Jan 9, 2013
Messages
18
Points
0
The simplest way to learn php is through accessing the API. Refer php.net which provides detailed information and facts about various function, datatypes and a lot more. If you know any of the other programming language other then php, it will be much simpler for you to learn.
 

JamesTobias

New member
Registered
Joined
Dec 23, 2013
Messages
10
Points
0
PHP is an excellent open source language and there are many ways to learn it like YouTube tutorials,w3schools.com etc., most of the people don't know the Facebook site built using PHP technology.
 

web3k

Member
Registered
Joined
Dec 23, 2012
Messages
29
Points
0
Without sounding repetitive, w3schools is a great resource, but unless you have 'some' programming knowledge (even if its HTML), then you might find yourself a bit lost.

If you're looking for a 'classroom' type environment, see if Treehouse has PHP courses. They do app/java courses, so PHP should be on their list too.
 

mfscripts

New member
Registered
Joined
Feb 24, 2014
Messages
3
Points
0
Hi, there are many online courses which may be helpful, both paid and free. Obviously paid is generally better but the free ones are still good.
 

mehrishaly

Member
Joined
Apr 17, 2014
Messages
23
Points
0
W3cschools is a best platform to learn php.

You may found very detailed tutorials over there
 

Nature

New member
Joined
May 29, 2014
Messages
14
Points
0
I have to agree with Inquestor. To learn PHP W3Schools is the best option. You can also try Lynda.com there are provide video tutorial which you can easily understand.
 

NicholasK

Member
Joined
Jun 8, 2014
Messages
23
Points
0
I recommend you to start from thenewboston PHP development tutorial by Bucky..
 

aframalik

New member
Joined
Jun 23, 2014
Messages
13
Points
0
Learn through online w3cschools it is free and very detailed tutorials you may found there related to php
 

Alex - Arvixe

Member
Registered
Joined
Jun 22, 2014
Messages
27
Points
3
I've had a friend learn by simply reading code, getting to understand it and then build his level of programming very slowly.

As mentioned above, start with w3schools and learn the very basics. Then grab an open source software you can learn from and spend some time studying it and trying to understand how it works.

Then start on your own very basic software and build it from there slowly slowly. Don't expect results overnight though :).
 

bestellen

New member
Joined
Jul 6, 2014
Messages
9
Points
0
A book and just practicing some applications is the best way to learn. Start with something simple, like a guest-book code, then work your way to a blog code.
 
Newer Threads
Replies
0
Views
2,121
Replies
0
Views
1,805
Replies
23
Views
10,584
Recommended Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top