NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Learning PHP

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 08-16-2006, 12:39 PM THREAD STARTER               #1 (permalink)
Senior Member
 
dc1pop's Avatar
Join Date: Dec 2004
Location: UK
Posts: 1,893
dc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to behold
 



Learning PHP


Hi,

The time has come for me to learn PHP can anyone recommened a book that is full of advice and help for a newbie in the php field.

I know very little so need to start right at the begging.

Hope some people here can point me in the right direction!

Thanks,
Darren
dc1pop is offline  
Old 08-16-2006, 12:50 PM   #2 (permalink)
NamePros Member
Join Date: May 2006
Posts: 133
spacetrain will become famous soon enoughspacetrain will become famous soon enough
 



PHP & Mysql Web Development 3rd Edition

This covers PHP 5 and Mysql its a great book! It uses examples of scripts to help you learn various functions and at the end gives several step by step guides on how to build popular scripts like web mail scripts and a forum.

Using it and google and a friend who already knew php and mysql ive mastered php and mysql in little over a month

http://www.amazon.com/gp/product/0672326728
spacetrain is offline  
Old 08-16-2006, 01:46 PM THREAD STARTER               #3 (permalink)
Senior Member
 
dc1pop's Avatar
Join Date: Dec 2004
Location: UK
Posts: 1,893
dc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to behold
 



Well thanks for the information! Il check out that book now! What sites did you use??
dc1pop is offline  
Old 08-16-2006, 02:30 PM   #4 (permalink)
Dan
Buy my domains.
 
Dan's Avatar
Join Date: Feb 2006
Posts: 2,796
Dan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant future
 


Autism Autism Autism Autism Autism Autism Autism
I have the book that spacetrain suggested.

I hardly ever used it and learned the most by just trying to do things and looking up stuff on php.net
Dan is offline  
Old 08-19-2006, 09:29 AM   #5 (permalink)
NamePros Regular
 
LikuiD's Avatar
Join Date: Jul 2006
Posts: 283
LikuiD will become famous soon enoughLikuiD will become famous soon enough
 




I've been learning php for quite a few days now just by looking at simply made scripts
I've even made my first script from scartch this morning (script that generates Meta Tags )
Php really isn't that hard, you just need to have someplace to test your scripts and alot of time to google

Nonetheless I'll still check out that book 'spacetrain' recommended
Good luck !
LikuiD is offline  
Old 08-19-2006, 10:00 AM   #6 (permalink)
OK
NamePros Regular
Join Date: Nov 2005
Posts: 460
OK is just really niceOK is just really niceOK is just really niceOK is just really nice
 



I don't remember what book I used to start out (but it had a picture of the Linux penguin on the cover). REALLY helpful. Books > Sites. Although once you learn the basics, the internet becomes more helpful.
__________________
Oleg
OK is offline  
Old 08-19-2006, 10:05 AM   #7 (permalink)
NamePros Regular
 
baxter's Avatar
Join Date: Apr 2006
Posts: 363
baxter is just really nicebaxter is just really nicebaxter is just really nicebaxter is just really nice
 


Ethan Allen Fund Save The Children
Originally Posted by Dan Friedman
I have the book that spacetrain suggested.

I hardly ever used it and learned the most by just trying to do things and looking up stuff on php.net
I did the same Dan, the book I had was called "Learn php in 24 hours"
baxter is offline  
Old 08-19-2006, 12:08 PM   #8 (permalink)
Senior Member
Join Date: Apr 2005
Location: Joliet, Illinois
Posts: 1,177
RageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to behold
 


Child Abuse
Search the Namepros forums.. Look at like webmaster articles and things and examine the code. Here is something very basic you can try, it's just working with variables: (It is a hello world, but it helps lol)

PHP Code:
<?php
// Define the '$hello' variable
$hello "Hello World";
????: NamePros.com http://www.namepros.com/programming/228341-learning-php.html
echo(
$hello);
?>
Everyone loves the Hello World lol but you can try other things with that. Also, with that one I would like to say, if you want to put text in there that is not a variable, you can do so. Just do something like this:

PHP Code:
echo("This is my first PHP script, $hello"); 
of course, that would replace the "echo" I left in the other script, otherwise $hello is not defined.

Also, another simple thing if you want to see your phpInfo

PHP Code:
<?php
phpinfo
();
?>
haha. Once you learn the basics, you can get into programming your own functions But get that done and it's like math. Everything builds!

-RageD

NOTE: PHP.net is a great reference guide!
RageD is offline  
Old 08-19-2006, 02:48 PM   #9 (permalink)
Senior Member
 
Barrucadu's Avatar
Join Date: Aug 2005
Location: East Yorkshire, England
Posts: 2,689
Barrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to behold
 




When I started I just looked at scripts other people had made, then had a go at making my own.
Barrucadu is offline  
Old 08-20-2006, 06:36 AM THREAD STARTER               #10 (permalink)
Senior Member
 
dc1pop's Avatar
Join Date: Dec 2004
Location: UK
Posts: 1,893
dc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to beholddc1pop is a splendid one to behold
 



Thanks guys its all good to get the information you recommened!

Thanks!
dc1pop is offline  
Old 08-20-2006, 07:16 AM   #11 (permalink)
Senior Member
 
Barrucadu's Avatar
Join Date: Aug 2005
Location: East Yorkshire, England
Posts: 2,689
Barrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to behold
 




When you do start PHP, set up a testing server.

Abyss Web Server (free version) is a great webserver, if you look in the documentation it says how to add PHP support.
Barrucadu is offline  
Old 08-20-2006, 05:16 PM   #12 (permalink)
Dan
Buy my domains.
 
Dan's Avatar
Join Date: Feb 2006
Posts: 2,796
Dan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant future
 


Autism Autism Autism Autism Autism Autism Autism
If you want to run it on localhost [and on Windows], I suggest http://www.en.wampserver.com/

It comes with Apache, PHP, and MySQL. It has an addon which allows you to switch between PHP 4 and 5.
Dan is offline  
Old 08-20-2006, 07:21 PM   #13 (permalink)
NamePros Regular
 
ablaye's Avatar
Join Date: May 2006
Location: WebmasterGround.com
Posts: 863
ablaye is on a distinguished road
 



Originally Posted by Mikor
When I started I just looked at scripts other people had made, then had a go at making my own.
That's also how i learnt PHP. I just looked at some scripts, made changes and got the answers to all my questions at www.php.net
ablaye is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 07:54 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger