[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

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


Closed Thread
 
LinkBack Thread Tools
Old 11-29-2007, 10:15 AM   #1 (permalink)
www.bpdir.com
 
dezinerite's Avatar
 
Join Date: Jul 2007
Location: Shanghai
Posts: 2,785
300.78 NP$ (Donate)

dezinerite has a brilliant futuredezinerite has a brilliant futuredezinerite has a brilliant futuredezinerite has a brilliant futuredezinerite has a brilliant futuredezinerite has a brilliant futuredezinerite has a brilliant futuredezinerite has a brilliant futuredezinerite has a brilliant futuredezinerite has a brilliant futuredezinerite has a brilliant future

Wildlife Breast Cancer Ethan Allen Fund Tsunami Relief AIDS/HIV
Wink How did you learn PHP & MySQL?

I've decided to try learning it. :S So far I only know bits of HTML, Javascript and CSS. I did about an hour of PHP the other day and it was already quite frustrating. Nevertheless I've made up my mind, I'm going to learn this thing!

How did you learn PHP & MySQL, and how long did it take?
__________________
Free Submissions Directory | CWC
dezinerite is offline  
Old 11-29-2007, 10:35 AM   #2 (permalink)
Danltn.com
 
Daniel's Avatar
 
Join Date: May 2007
Location: Danltn.com / Nottingham, UK
Posts: 1,201
13.51 NP$ (Donate)

Daniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond repute

Ethan Allen Fund Ethan Allen Fund
W3Schools and then straight to www.PHP.net

Although there's various places to start, you really need to use PHP.net when you get more advanced, best resource there is.

Dan
Daniel is offline  
Old 11-29-2007, 10:38 AM   #3 (permalink)
Senior Member
 
Peter's Avatar
 
Join Date: Nov 2003
Location: Scotland
Posts: 4,900
0.60 NP$ (Donate)

Peter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond repute

Child Abuse Save The Children Save The Children Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009
I personally started from books. Try looking in your local bookshop and flick through some of the books they have to see if any appeal to you.

The style the book is written in can affect greatly how easily you pick up the concepts.

Once you know the basics you can then start looking at the manual at php.net (and being able to properly understand everything).
__________________
Manage your portfolio using my new Domain Portfolio Management script.
Securing Your Domain Name From Theft
Peter is offline  
Old 11-29-2007, 10:43 AM   #4 (permalink)
Traveller
 
-NC-'s Avatar
 
Join Date: Mar 2007
Location: Yet another city
Posts: 1,392
614.57 NP$ (Donate)

-NC- has much to be proud of-NC- has much to be proud of-NC- has much to be proud of-NC- has much to be proud of-NC- has much to be proud of-NC- has much to be proud of-NC- has much to be proud of-NC- has much to be proud of-NC- has much to be proud of-NC- has much to be proud of

Animal Cruelty Animal Rescue Ethan Allen Fund Protect Our Planet
i'd already been programming for about 8 years before i picked up php.

initially i learned by modifying open source apps to my needs and then started writing my own on top of cakephp, which i can't praise enough.

I used php.net every step of the way and continue to use it to this day ( I don't quite have the entire reference memorized yet, maybe in about 5 years )
-NC- is offline  
Old 11-29-2007, 11:02 AM   #5 (permalink)
No Country for Old Domainers ...

Member Services

 
Mark's Avatar
 
Join Date: Mar 2004
Posts: 9,873
4,750.95 NP$ (Donate)

Mark has a reputation beyond reputeMark has a reputation beyond reputeMark has a reputation beyond reputeMark has a reputation beyond reputeMark has a reputation beyond reputeMark has a reputation beyond reputeMark has a reputation beyond reputeMark has a reputation beyond reputeMark has a reputation beyond reputeMark has a reputation beyond reputeMark has a reputation beyond repute

Ethan Allen Fund
I learned most of what I know on PHP two ways ... Dissecting other peoples Scripts , And when I got lost - I would bug SecondVersion and Scott half into insanity

MySql - Well , I can install, Mod, and backup existing stuff - But "Knowing" it is another thing entirely

PHP.net is a must still
Mark is offline  
Old 11-29-2007, 12:08 PM   #6 (permalink)
Joe
Senior Member
 
Join Date: Oct 2005
Location: Kent ~ U.K.
Posts: 3,246
88.85 NP$ (Donate)

Joe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud of

Save The Children Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009
Mark. So that's why they both stepped down from being mods...

Anyway, I first started off creating and modifying various aspects of phpBB, and invision forums.
I then, like most others, modified other people's scripts, and dissected them to learn how.

I've been coding various PHP things for 2 years now, and I still need to use PHP.net for reference.
Even if you had memorised it, it's good to check.

I would, however, recommend W3Schools.

Joe
Joe is offline  
Old 11-29-2007, 01:50 PM   #7 (permalink)
Barru.
 
Barrucadu's Avatar
 
Join Date: Aug 2005
Location: East Yorkshire, England
Posts: 2,731
78.50 NP$ (Donate)

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


I began by searching for a tutorial of whatever I wanted to learn on google, then when I found one, looking up every function I didn't understand. In a few weeks of this, I had a pretty good PHP knowledge.
Barrucadu is offline  
Old 11-29-2007, 04:27 PM   #8 (permalink)
Senior Member
 
nasaboy007's Avatar
 
Join Date: Jul 2005
Location: NJ
Posts: 1,112
1,454.30 NP$ (Donate)

nasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud of


as mentioned, www.w3schools.com is probably your best bet. they start of from the BEGINNING and explain the concepts from scratch as well as what you need to know. they even have sample scripts and stuff so once you get the hang of the php syntax (how to define variables, conditional statements, etc) i advise you start downloading some of the simple scripts that you can find on sites such as www.hotscripts.com and just going through them, seeing how they work. of course, www.php.net is a godsend for looking up new functions or even refreshing old ones that you may not have used in a while. as for mysql, i've been doing php for over 3 years now and i'm still not "fluent" when it comes to mysql - i've always found that it turns out to be extremely picky. the code that i use sometimes just errors and doesnt work depending on what host i'm using, the whole ' vs " vs `, its all very confusing. i suggest getting a solid basis in php itself before looking at databases. maybe work with flat text files first to get the hang of data storage. also, mysql tables are similar to spreadsheets (like excel). if you're good at excel, etc, you should have no trouble understanding the conceptual parts at least of mysql.
nasaboy007 is offline  
Old 11-29-2007, 07:03 PM   #9 (permalink)
NamePros Regular
 
Join Date: Feb 2006
Posts: 581
192.30 NP$ (Donate)

psalzmann is just really nicepsalzmann is just really nicepsalzmann is just really nicepsalzmann is just really nice


Visit hotscripts.com find open source scripts that have active member base and that is popular, and review it. Play with a section of the script and review the code as you go. It's not rocket science but as everything in life, a small learning curve that you'll begin to understand only over time (experience).
psalzmann is offline  
Old 11-29-2007, 07:56 PM   #10 (permalink)
NPQ's PA, Slave, and On Call Coder

Technical Services

 
Eric's Avatar
 
Join Date: Mar 2005
Posts: 4,545
0.71 NP$ (Donate)

Eric has a reputation beyond reputeEric has a reputation beyond reputeEric has a reputation beyond reputeEric has a reputation beyond reputeEric has a reputation beyond reputeEric has a reputation beyond reputeEric has a reputation beyond reputeEric has a reputation beyond reputeEric has a reputation beyond reputeEric has a reputation beyond reputeEric has a reputation beyond repute

Save a Life Child Abuse 9/11/01 :: Never Forget Baby Health Marrow Donor Program AIDS/HIV Breast Cancer Cystic Fibrosis Ethan Allen Fund Animal Cruelty Ethan Allen Fund Ethan Allen Fund Cancer Alzheimer's Protect Our Planet Cancer Survivorship SIDS Child Abuse
It's already been mentioned a few times in this thread, but it's the same way I learned as well. Take existing scripts and play with them, research the code, 'dissect' it. I probably did that for a month or so, then read through php.net several times.

As for MySQL, http://dev.mysql.com/doc/refman/5.0/en/index.html

Quote:
Originally Posted by Mark
I learned most of what I know on PHP two ways ... Dissecting other peoples Scripts , And when I got lost - I would bug SecondVersion and Scott half into insanity

MySql - Well , I can install, Mod, and backup existing stuff - But "Knowing" it is another thing entirely

PHP.net is a must still
'bug'? That's an understatement. BUG the HELL out of us, and into FULL insanity, would be more accurate.

__________________

Last edited by SecondVersion; 11-29-2007 at 08:07 PM.
Eric is offline  
Old 11-29-2007, 08:10 PM   #11 (permalink)
i love automation
 
xrvel's Avatar
 
Join Date: Nov 2007
Posts: 1,409
987.78 NP$ (Donate)

xrvel has much to be proud ofxrvel has much to be proud ofxrvel has much to be proud ofxrvel has much to be proud ofxrvel has much to be proud ofxrvel has much to be proud ofxrvel has much to be proud ofxrvel has much to be proud ofxrvel has much to be proud ofxrvel has much to be proud of


I download some simple pHP samples from planetsourcecode.com, later on phpclasses.org. Both of them are cool websites. And php.net.
xrvel is offline  
Old 11-29-2007, 10:11 PM   #12 (permalink)
AzN
SI: ServiceInteract
 
AzN's Avatar
 
Join Date: May 2006
Location: ServiceInteract
Posts: 2,551
0.96 NP$ (Donate)

AzN has a reputation beyond reputeAzN has a reputation beyond reputeAzN has a reputation beyond reputeAzN has a reputation beyond reputeAzN has a reputation beyond reputeAzN has a reputation beyond reputeAzN has a reputation beyond reputeAzN has a reputation beyond reputeAzN has a reputation beyond reputeAzN has a reputation beyond reputeAzN has a reputation beyond repute

Find Marrow Donors! Ethan Allen Fund Ethan Allen Fund Ethan Allen Fund Save a Life Save a Life Save a Life Save a Life Save a Life Save a Life VA Tech Memorial VA Tech Memorial VA Tech Memorial VA Tech Memorial Save a Life Save a Life Save a Life
Tizag.com, PHP.net is both good resources. But I personally love to bug SV for help.
AzN is offline  
Old 11-29-2007, 11:28 PM   #13 (permalink)
NamePros Regular
 
Join Date: Aug 2007
Location: West Sussex - England
Posts: 858
10.00 NP$ (Donate)

Shane is a splendid one to beholdShane is a splendid one to beholdShane is a splendid one to beholdShane is a splendid one to beholdShane is a splendid one to beholdShane is a splendid one to beholdShane is a splendid one to behold

Breast Cancer Special Olympics Protect Our Planet
for basic - intermedite, w3schools.com is the place to go
Shane is offline  
Old 11-29-2007, 11:46 PM   #14 (permalink)
NamePros Regular
 
aboujouj83's Avatar
 
Join Date: Jun 2005
Posts: 500
95.55 NP$ (Donate)

aboujouj83 is a jewel in the roughaboujouj83 is a jewel in the roughaboujouj83 is a jewel in the rough


I recommend "PHP And MYSQL for dynamic websites". Great book.
This is the link from Amazon: http://www.amazon.com/PHP-MySQL-Dyna...rdr_bb_product

It also has a website, where the author has all the scripts. Great way to learn.
I remember learning PHP and MySQL in less than 2 weeks with this book.

Aboujouj
aboujouj83 is offline  
Old 11-30-2007, 11:14 AM   #15 (permalink)
NamePros Regular
 
Palyriot's Avatar
 
Join Date: Jul 2004
Location: Seattle, Wa
Posts: 596
76.25 NP$ (Donate)

Palyriot is a jewel in the roughPalyriot is a jewel in the roughPalyriot is a jewel in the rough


I began learning PHP at php.net and that's the only source I've ever used. They have a complete manual that is perfect. It's not humorous like most books, but it's free and gets the job done. MySQL I like to look at http://www.tizag.com/mysqlTutorial/. I often refer back to it if I forget.

Some good cheat sheets for what you're learning...

http://www.ilovejackdaniels.com/html-cheat-sheet.pdf
http://www.ilovejackdaniels.com/mysql_cheat_sheet.pdf
http://www.ilovejackdaniels.com/css_cheat_sheet.pdf
http://www.ilovejackdaniels.com/php_cheat_sheet.pdf

Some extra cheat sheets...
http://www.ilovejackdaniels.com/regu...heat_sheet.pdf
http://www.ilovejackdaniels.com/mod_...heat_sheet.pdf

Hope I helped.
Palyriot is offline  
Old 12-04-2007, 05:23 AM   #16 (permalink)
NamePros Member
 
Wildhoney's Avatar
 
Join Date: Sep 2006
Posts: 74
0.00 NP$ (Donate)

Wildhoney is an unknown quantity at this point


I just learnt it from hanging about with fellow programmers on TalkPHP. Then I bought TalkPHP !
__________________
TalkPHP.com - The Friendly PHP Community

Watch Weeds Online -
Watch Reaper Online
Wildhoney is offline  
Closed Thread


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

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 On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 01:30 AM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85