Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
New to PHP, where to Start?
Old 12-24-2008, 04:54 AM New to PHP, where to Start?
Ultra Talker

Posts: 316
Trades: 0
I've been making web pages using HTML and CSS for years and have only really used PHP for forms. The other day I found the PHP include feature and have been kicking myself for not knowing about it sooner.
PHP Code:
<?php include("menu.php"); ?>
Can you recommend some other bits of PHP that will make my life easier and improve my life?

Thanks
Joe3000 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-24-2008, 05:53 AM Re: New to PHP, where to Start?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
All of it
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-24-2008, 09:08 AM Re: New to PHP, where to Start?
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Start at the beginning and learn how the procedural part of PHP works. This part is very similar to other C-family languages, as it uses the same or similar structures (if, else, elseif, while, do... while, for, foreach). Also, learn how operators work so that you can do comparative statements and assign values to variables. Then study variables and arrays. After you are fairly comfortable with procedures, operators, and arrays, study functions.

Once you can do procedures, operators, arrays, and functions, you will still only be at a beginner's level, but you will have a more powerful toolset that you can start working with.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is online now
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 12-24-2008, 11:10 AM Re: New to PHP, where to Start?
serandfae's Avatar
Do the "Evil Nanner" !!!

Posts: 9,007
Name: Tim Daily
Location: Apex, NC, US, Sol 3
Trades: 0
I repeat my question here, because I believe it is in keeping with what the OP is asking:

What about a link to basic tutorials for complete noobs to php like me? Something decent, that actually teaches you to DO something other than make the computer say, "Hello, world!" fifty different ways (in other words, not W3C schools' sorry excuse for a tutorial)? Is it too much to ask of those who write tutorials, "OK, that's nice, but how do you actually USE it?"

tim
__________________
SEO "experts" smell like Big Fish_|_
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Last edited by serandfae; 12-24-2008 at 11:12 AM..
serandfae is offline
Reply With Quote
View Public Profile Visit serandfae's homepage!
 
Old 12-24-2008, 01:26 PM Re: New to PHP, where to Start?
Defies a Status

Posts: 1,606
Trades: 0
Tim

Someone here will always help you. The php call in the first post is the best one to learn first IMO. It will allow you to have one header, footer and navigation system.

If you run ads on your site you can have one ads file.

Changing one file changes all the pages.

I am a hands on learner and the books and guides are okay. Download a relatively simple, free script and take it apart to learn how the different things are done. This is best done on your own computer as it makes it easier to see the effects immediately and poses no problem to shared hosting account.

Happy Holidays.
__________________
Colbyt

Please login or register to view this content. Registration is FREE
colbyt is offline
Reply With Quote
View Public Profile
 
Old 12-24-2008, 03:57 PM Re: New to PHP, where to Start?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Tim is right though, I can't recall a tutorial for PHP that isn't so simplistic it is pretty useless, while at the same time doesn't launch into "geek speak" instantly.

The one at Tizag is Ok but it diverts off into installing MySql before it tells you how to initialise a variable.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-24-2008, 04:33 PM Re: New to PHP, where to Start?
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
It's been a long time since I actually took a tutorial, but I do recall that the one at w3schools is a heap of poop. I learned PHP from 1. a book, and 2. working with other developers. There's some things that are better learned in printed material, and I think PHP is one of them, but there is no better learning than actual experience.

The other huge part of developing as a PHP programmer is the repetitive process of looking up function arguments and reading the sample code on the official documentation at http://php.net. Since no one knows everything, knowing how to access and browse the documentation is an important skill. I may be relatively junior compared to some of the programmers here (my database design skills pretty much suck), but I have grown a lot just from the exploratory process of programming itself.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.

Last edited by wayfarer07; 12-24-2008 at 05:23 PM..
wayfarer07 is online now
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 12-24-2008, 05:07 PM Re: New to PHP, where to Start?
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Nettuts just published 25 resources to get you started with php from scratch yesterday.

It links to 25 resources as you might guess, including the Tizag site Chris mentioned above.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 12-24-2008, 11:44 PM Re: New to PHP, where to Start?
serandfae's Avatar
Do the "Evil Nanner" !!!

Posts: 9,007
Name: Tim Daily
Location: Apex, NC, US, Sol 3
Trades: 0
Thanks to all of you for the links and advice. It might be a good idea to add them to the sticky on tutorials.

@Joe3000 -- I will say that the W3 Schools php quick reference is a good resource; I've got it bookmarked, because it looks like once I've gotten my feet wet in learning this it would be good to refer back to. It's just not now for me at least because I'm still green with php. Kind of like the quick refs I have with CSS and Javascript -- I'll look at those here and there and say, "Oh yeah! I forgot about THAT!"

tim
__________________
SEO "experts" smell like Big Fish_|_
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

serandfae is offline
Reply With Quote
View Public Profile Visit serandfae's homepage!
 
Old 12-25-2008, 08:08 PM Re: New to PHP, where to Start?
Novice Talker

Posts: 7
Name: Jeremy
Trades: 0
I started at www.w3schools.com learning html, then javascript, then PHP.
It's a really good resource for beginners. As you get more advanced, the php website will begin to be of more use.
Also, I believe Tizag has a PHP tutorial, and it's google rankings are growing, so it must be pretty good.
About.com probably has something about it also.

If you are going to use more PHP, you might want to consider MySQL also, because I've heard it's useful for storing data in a relational manner.
I personally prefer using flatfiles, but that's more difficult for relational data storage. flatfiles are useful for storing information that you use frequently such as settings, or if you don't have access to a MySql server.

Don't take my preference for flatfiles to heart though. I just haven't got access to a MySql server, and can't be bothered to learn the SQL language.

Anyway enough rambling... I hope some of it helped!!
computerboy0 is offline
Reply With Quote
View Public Profile
 
Old 12-26-2008, 12:49 AM Re: New to PHP, where to Start?
tusherdcc's Avatar
Average Talker

Posts: 21
Name: Ahsanul Karim
Location: BD
Trades: 0
go to tutorial site w3wschool is one of the best as far i think . it is very nice site to lean PHP. try that . i have also learn that form there...
__________________
Love your country:)
tusherdcc is offline
Reply With Quote
View Public Profile Visit tusherdcc's homepage!
 
Old 12-30-2008, 09:18 AM Re: New to PHP, where to Start?
Novice Talker

Posts: 5
Name: Phi Van Nam
Location: HCM - VietNam
Trades: 0
What I could recommand you, because it helped my a lot in the past, is to go through this:
http://www.php.net/manual/en/
The PHP manual is thorough and really well explained, in my opinion.
Going from the start, they will explain you what are data types, functions, variables, scope, branchements and such.

Jumping over the configuration of PHP, and if you just have HTML knowledge, you should go directly to http://www.php.net/manual/en/langref.php
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
thietkedepcom is offline
Reply With Quote
View Public Profile Visit thietkedepcom's homepage!
 
Old 01-01-2009, 11:36 PM Re: New to PHP, where to Start?
Wumbus's Avatar
Average Talker

Posts: 24
Name: Zach Dunn
Location: Massachusetts
Trades: 0
I've made a few tutorials on form validation, if you're yet to get into that.

http://buildinternet.com/2008/12/how...-using-arrays/

and

http://buildinternet.com/2008/12/how...ng-php-part-1/
__________________

Please login or register to view this content. Registration is FREE
- Web Design, Development and Business Blog
Wumbus is offline
Reply With Quote
View Public Profile Visit Wumbus's homepage!
 
Reply     « Reply to New to PHP, where to Start?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.44453 seconds with 12 queries