We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,389 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Need PHP Free Tutorial

hi guys, please post here some php tips, i need some help in php,

thanks

12
Contributors
10
Replies
7 Months
Discussion Span
3 Months Ago
Last Updated
11
Views
personalisedpen
Newbie Poster
1 post since Jun 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

php.net phpeveryday phpbuilders search on google php tutorial

dany12
Posting Whiz in Training
223 posts since Aug 2010
Reputation Points: 21
Solved Threads: 15
Skill Endorsements: 1

www.w3school.com

leoblanc
Newbie Poster
9 posts since Nov 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

there's a youtube channel called phpacademy. They are super helpful. I started out learning from them.

SummerNight
Newbie Poster
17 posts since Nov 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Hi,

Do all things they suggested above, and then search amazon for books in php if possible look for something that will include introduction to OOP for non-programmers.

!NOTE! do not memorize means to understand the logic behind the subject matter. Learning does NOT always equates to understanding, but understanding is always a proof of learning.

The main key points of learning to program is to be familiar with the syntax, functions, and reserved words and variables.

  1. Read www.w3school.com tutorial on php. DO NOT memorize anything! just read them whenever you feel like reading comfortably.

  2. As you move along the chapters, follow examples by actually writing it on your own and running it own your server. For example, if you are learning how to echo string or variables, you need to do this exeercise on your own.

  3. Read and learn (but do not memorize) all the loops in php, and practice using all of them by actually writing your own script. Write your own example using for, while, foreach loops.. these are commonly use in php and other programming languages.

  4. Read, learn and practice on php conditional statements e.g. if,else, ifelse.. AND the php operators e.g. =,==,<=,>=, +,++... Common usage using the conditional statement if and operator

    if($something == "something"){
    do this;
    }

  5. Read, learn , practice form processing using php by using the following $_GET, $_POST, (not recommended but it is worth experimenting) $_REQUEST. YOU MUST write your own codes for this..

  6. Read, learn, practice MORE on php arrays... learn all types of sorting an array. Use loop or arrayIterator to handle arrays. This is one of the most common method use in processing the data coming out of the database.

    ## example
    $theseItems = array('a','b','c','d','e');
    ## foreach loop usage
    
    foreach($theseItems as $singleItem){
    
    echo $singleItem."<br/>";
    
    }
    

7 Read, learn and practice form processing with proper santization of collected data.. YOU MUST LEARN this seriously..

  1. Read, learn and practice on how to create, connect, retrieve, update, delete, and insert data to mysql database using php. Immediately, after learning this.. YOU mUSt learn all possible and effective data sanitizing techniques prior to sending them to your database. This part can or May become frustrating to some people learning php and mysql.

  2. Lastly, think of something very simple application you want to write using php. Write a simple programming flow based on the logic of your design. Begin writting this program, test, debug. If you are getting errors, DO NOT give up, but search the Internet about the error and for a possible solution.

The secret here is lots of practice and more practice... books gives us guidance on how other people did it, but in practice we tend to develop our own methods well suited to our logical reasoning, imagination, and comfort zone.

veedeoo
Master Poster
735 posts since Oct 2011
Reputation Points: 298
Solved Threads: 130
Skill Endorsements: 13

Tizag: http://www.tizag.com/phpT/syntax.php

No substitute for spending days and days trying your own stuff out.

diafol
Keep Smiling
Moderator
10,672 posts since Oct 2006
Reputation Points: 1,632
Solved Threads: 1,514
Skill Endorsements: 57

www.w3school.com

If you go there, be sure to read this too: http://w3fools.com/

pritaeas
Posting Prodigy
Moderator
9,315 posts since Jul 2006
Reputation Points: 1,178
Solved Threads: 1,467
Skill Endorsements: 86

Well, personalisedpen in the starting you should have basic knowledge of PHP. And there are lots of free tutorial are available on internet. You can use them and W3school is one of the best free tutorial.

madelinekim
Newbie Poster
20 posts since Jun 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

You can use them and W3school is one of the best free tutorial.

I disagree. Some tuts are OK, but there's a lot of bad advice / mistakes. Pritaeas alluded to this with the interesting site (w3fools).

diafol
Keep Smiling
Moderator
10,672 posts since Oct 2006
Reputation Points: 1,632
Solved Threads: 1,514
Skill Endorsements: 57

my advice would be to get something you want to create or find someone you can create something for at a cheap price, then go do it and google each part you want to do: "how do i ..." "session not working" "date()" and read the info on them and create it - you'll soon pick it up.

Its how i started about 5 years ago - and don't set yourself a high target at the start - i started off creating a php script to submit a form

Biiim
Posting Pro
504 posts since Oct 2011
Reputation Points: 104
Solved Threads: 83
Skill Endorsements: 7

Here is a really nice really easy tutorial for PHPixie (a really good framework). You should really check it out:

http://phpixie.com/tutorials/learn-phpixie-in-30-minutes/

It claims to teach you in 30 minutes too =)

Draconyster
Newbie Poster
1 post since Jan 2013
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.3237 seconds using 2.72MB