Good PHP by Example Book?

lchyi

Senior member
May 1, 2003
935
0
0
I'm not really new to PHP but I really want to have a PHP Cookbook type supplement that is very simple and leads by example. For example, I really want to know how to program a simple MySQL query with PHP that will only pull up 5 entries or pictures per page with an option to display all or view 10, 15, 25 per page. While in principle I could figure this out (finding the right script on the internet is a ah heck sometimes), I want a book that displays the principles of this concept through an example. I feel I learn the best that way. Has anyone read anything or have anything that they have on their current bookshelf they could recommend?
 

randay

Lifer
May 30, 2006
11,018
216
106
I don't know what exactly it is you are looking for, but I really like the "wrox" books. You should have a look at them and others at a bookstore or something.
 

purbeast0

No Lifer
Sep 13, 2001
53,027
5,912
126
if you have general programming knowledge, PHP is a cinch to pick up on. i mean i am by no means an expert, but i actually learned the stuff you are trying to do just by finding examples on the web and following them. but then again, i also have a degree in computer science.

i also did no DB stuff in college, but SQL is SSSOOO easy to learn.
 

Supermercado

Diamond Member
Jan 18, 2002
5,893
0
76
I can't remember the name of it off the top of my head but a few years ago when I wanted to have that same type of book on hand, I bought what turned out to be a pretty good one that sounds like it would fit the bill. I can check the title and get you the ISBN and PM it to you when I get home if you want.
 

mugs

Lifer
Apr 29, 2003
48,920
46
91
Well, if you know anything about programming at all, then that's a pretty simple problem once you know the language.

I suggest not wasting your money on a book *yet* but instead starting with the tutorials/documentation at http://www.php.net
 

lchyi

Senior member
May 1, 2003
935
0
0
Books always seem like a better option than the internet for me. To me, they feel a lot more complete, just my 2 cents. But I did learn a ton of PHP on the internet through scripts. It seemed like a natural extension of the programming classes I was taking at the time.
 

ngvepforever2

Golden Member
Oct 19, 2003
1,269
0
0
Originally posted by: purbeast0
if you have general programming knowledge, PHP is a cinch to pick up on. i mean i am by no means an expert, but i actually learned the stuff you are trying to do just by finding examples on the web and following them. but then again, i also have a degree in computer science.

i also did no DB stuff in college, but SQL is SSSOOO easy to learn.

QFT

Regards

ng
 

GeekDrew

Diamond Member
Jun 7, 2000
9,099
19
81
Originally posted by: lchyi
I'm not really new to PHP but I really want to have a PHP Cookbook type supplement that is very simple and leads by example. For example, I really want to know how to program a simple MySQL query with PHP that will only pull up 5 entries or pictures per page with an option to display all or view 10, 15, 25 per page. While in principle I could figure this out (finding the right script on the internet is a ah heck sometimes), I want a book that displays the principles of this concept through an example. I feel I learn the best that way. Has anyone read anything or have anything that they have on their current bookshelf they could recommend?

I own this and this. They were a last-minute buy at Barnes & Noble a year or two ago, when I needed to get a PHP/MySQL website up and running within two days. Don't think that they will teach you *anything* about best practices, because they won't. Neither touch on OOP, either, but if all you need is a PHP & MySQL reference, those are two that I recommend.

That said, since I've been doing more and more in PHP lately, http://www.php.net has become a favorite.
 

2Xtreme21

Diamond Member
Jun 13, 2004
7,044
0
0
If you're totally new to PHP, look into something that teaches you a little about server-side programming and database incorporation before you start with actual scripting. It might save you a good deal of hastle when you get stuck on "why" something works and are unable to figure it out with just the php book alone. I find that php.net can be extremely confusing if you don't even have a moderate grasp on the language too.
 

GeekDrew

Diamond Member
Jun 7, 2000
9,099
19
81
Originally posted by: 2Xtreme21
If you're totally new to PHP, look into something that teaches you a little about server-side programming and database incorporation before you start with actual scripting. It might save you a good deal of hastle when you get stuck on "why" something works and are unable to figure it out with just the php book alone. I find that php.net can be extremely confusing if you don't even have a moderate grasp on the language too.

I started off knowing nothing at all about PHP, and very, very little about programming/scripting (aside from BASIC & BATCH), and now I'm able to "keep up with the pros", or so I'm told. It's all about how motivated you are to learn something.

That is to say, I learn far more quickly if I see an example and implementation. After I read an example or two for any given concept, I've got it down. That's why the PHP books I bought were awesome... they jumpstarted me by giving me quite a few examples to work from.
 

Eos

Diamond Member
Jun 14, 2000
3,463
17
81
So which one of you genisues wants to build me a database for cataloging my bootlegs?

I'm about 10 pages into PHP For Dummies, so I'm not ready for a full on project.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |