1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max


PHP: PHP - The Ultimate Basics

  1. Clicks today:
    0
  2. Clicks this month:
    1
  3. Overall rating:
    3.00/5

PHP » Basics — almost 5 years ago
This tutorial will teach everything you need to get you on your way to learning PHP. You can learn exactly how it works, how data is sent, as well as a detailed explanation of some of the most commonly used functions.

Comments

avatarZonaX almost 5 years ago

Contains much bad practise. Do not use this tutorial to learn PHP! This tutorial teaches you how to write PHP, but on a way that you need to change the way you write later. This might seem bullshit, but it's not. You won't be seen proffesional when you are showing this to the company where you want to work!

One little example: echo "Did you know that 10 add five equals " . "$numbers";

Best way should be: echo 'Did you know that 10 add five equals '.$numbers;

When using double quotes you need to add slashes escape double quotes, which are used often in HTML. And the dot in the first line is VERY useless for the variable is INSIDE double quotes!

avatarevenicoulddoit almost 5 years ago

Mate, I am discussing the basics of PHP, if it works, it works. It took me a long time to create it all and to say that it's rubbish simply because I double quoted an echo is insulting.

avatarZonaX almost 5 years ago

Ok, im sorry.. I might have crossed the line there.

But it's a real fact you're teaching bad practise, that's not bad when it's a little. But the whole tutorial contains it.

avatarevenicoulddoit almost 5 years ago

Well I hate to say otherwise, but in my opinion if it works it works, the ways you are describing are a little advanced and true you may wish to put them on the right tracks but talking about escaping is a little advanced for the beginner to understand

avatarGrandpa-Funk almost 5 years ago

i am a noob to php and i understood :D

avatarMunken over 4 years ago

ZonaX,

echo "Did you know that 10 add five equals " . "$numbers";

Is just as proffesional as echo 'Did you know that 10 add five equals '.$numbers;

I done some projects for companies, and I always use echo "Did you know that 10 add fice equals $numbers";

And I have never gotten any complains about it.

Your Comment

You must be logged in to post a comment.