PHP tutorial by Wiley?

jp_smith86

Senior Member
Joined
Jul 6, 2012
Messages
1,077
Reaction score
413
Hey Friends....


I'm trying to learn PHP.. what is a good source to learn it online... I have heard from some people about a book written by wiley(something i don't know the exact name)...

Kindly suggest me the best tutorial.. so that i can learn quickly and can clear all basics about php online.

Thanks
JP
 
The Tizag tutorial is a pretty bad approach to PHP, suggesting ' in HTML instead of ", meanwhile not even telling people that single quotes are easier to manager and they're faster. echo '<a href="#">hello</a>'; is faster and better than echo "<a href=\"#\">hello</a>';

Using literal strings also makes it to where you can't to do things like echo "putting $variables in the string"; which is also slow, bad practice, harder to debug, etc, and this tutorial also tells you to do it that way.

echo 'do it ' . $thisway . ' instead';

I should make a PHP tutorial, I think.

In the mean time I'd suggest looking for PHP best practices and other things like that. I also highly suggest programming with your error reporting set to E_ALL | E_NOTICE | E_STRICT to make sure you right good code and also it makes it easier to find typos in variables, etc.
 
Last edited:
Tizag is a beginner tutorial. Not a be-all-end-all guide. By the time performance is concerned they should know the difference between single and double quoting strings.

I would still recommend Tizag as a tutorial for a quickstart. Also w3schools. These are starters. Then once you have the concepts down, use php.net function reference and try to make your own application. Whether or not it's good for public use is irrelevant, practice is practice. If you read 100 books about PHP, you're still as useful as someone who just finished the tizag php tutorials.
 
Back
Top