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 [resolved] How did you learn PHP & MySQL?

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 11-29-2007, 11:15 AM THREAD STARTER               #1 (permalink)
www.bpdir.com
 
dezinerite's Avatar
Join Date: Jul 2007
Posts: 3,051
dezinerite has a reputation beyond reputedezinerite has a reputation beyond reputedezinerite has a reputation beyond reputedezinerite has a reputation beyond reputedezinerite has a reputation beyond reputedezinerite has a reputation beyond reputedezinerite has a reputation beyond reputedezinerite has a reputation beyond reputedezinerite has a reputation beyond reputedezinerite has a reputation beyond reputedezinerite has a reputation beyond repute
 



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?
dezinerite is offline  
Old 11-29-2007, 11:35 AM   #2 (permalink)
Danltn.com
 
Daniel's Avatar
Join Date: May 2007
Location: Danltn.com / Nottingham, UK
Posts: 1,201
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, 11:38 AM   #3 (permalink)
NamePros Expert
 
Peter's Avatar
Join Date: Nov 2003
Location: Scotland
Posts: 5,069
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, 11:43 AM   #4 (permalink)
Traveller
 
-NC-'s Avatar
Join Date: Mar 2007
Location: Yet another city
Posts: 1,419
-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future-NC- has a brilliant future
 


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 )
__________________
NameCooler.com
-NC- is offline  
Old 11-29-2007, 12:02 PM   #5 (permalink)
Hi :)
 
Mark's Avatar
Join Date: Mar 2004
Location: NC
Posts: 9,566
Mark Has achieved greatnessMark Has achieved greatnessMark Has achieved greatnessMark Has achieved greatnessMark Has achieved greatnessMark Has achieved greatnessMark Has achieved greatnessMark Has achieved greatnessMark Has achieved greatnessMark Has achieved greatnessMark Has achieved greatness
 

Member of the Month
August 2004
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
__________________
When the man at the door yelled "Alcohol , Tobacco , and Firearms" .... I just assumed it was a delivery !
Mark is offline  
Old 11-29-2007, 01:08 PM   #6 (permalink)
Joe
Senior Member
Join Date: Oct 2005
Location: Kent ~ U.K.
Posts: 3,209
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
__________________
Myself and "JackHeskett" are no longer associated with FusedHosting.net. Please pipe all PMs to admin [at] fusedhosting.net.
Joe is offline  
Old 11-29-2007, 02:50 PM   #7 (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
 




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, 05:27 PM   #8 (permalink)
Senior Member
 
nasaboy007's Avatar
Join Date: Jul 2005
Location: NJ
Posts: 1,219
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 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, 08:03 PM   #9 (permalink)
NamePros Regular
Join Date: Feb 2006
Posts: 528
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, 08:56 PM   #10 (permalink)
Senior Member
 
Eric's Avatar
Join Date: Mar 2005
Posts: 4,948
Eric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatness
 

Member of the Month
MOTM September 2005
Save a Life Child Abuse 9/11/01 :: Never Forget Baby Health Marrow Donor Program AIDS/HIV Breast Cancer Animal Rescue Cystic Fibrosis Ethan Allen Fund Animal Cruelty Ethan Allen Fund Ethan Allen Fund Baby Health Cancer Alzheimer's Protect Our Planet Cancer Survivorship SIDS Child Abuse Diabetes Protect Our Planet Multiple Sclerosis Autism Adoption Special Olympics
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

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.
????: NamePros.com http://www.namepros.com/programming/401237-resolved-how-did-you-learn-php.html

Last edited by SecondVersion; 11-29-2007 at 09:07 PM.
Eric is offline  
Old 11-29-2007, 09:10 PM   #11 (permalink)
i love automation
 
xrvel's Avatar
Join Date: Nov 2007
Location: xrvel.com
Posts: 1,620
xrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant future
 




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, 11:11 PM   #12 (permalink)
AzN
is on hiatus
Join Date: May 2006
Posts: 2,453
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.
__________________
Currently on hiatus. Back whenever.
AzN is offline  
Old 11-30-2007, 12:28 AM   #13 (permalink)
NamePros Regular
Join Date: Aug 2007
Location: West Sussex - England
Posts: 869
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 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-30-2007, 12:46 AM   #14 (permalink)
NamePros Regular
 
aboujouj83's Avatar
Join Date: Jun 2005
Posts: 502
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
__________________
Quality NHL Hockey Forum
aboujouj83 is offline  
Old 11-30-2007, 12:14 PM   #15 (permalink)
NamePros Regular
 
Palyriot's Avatar
Join Date: Jul 2004
Location: Seattle, Wa
Posts: 596
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
????: NamePros.com http://www.namepros.com/showthread.php?t=401237
http://www.ilovejackdaniels.com/mod_...heat_sheet.pdf

Hope I helped.
Palyriot is offline  
Old 12-04-2007, 06:23 AM   #16 (permalink)
NamePros Member
 
Wildhoney's Avatar
Join Date: Sep 2006
Posts: 78
Wildhoney is an unknown quantity at this point
 



I just learnt it from hanging about with fellow programmers on TalkPHP. Then I bought TalkPHP !
Wildhoney 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 05:44 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