views:

1101

answers:

8

I'm possibly teaching an undergraduate PHP/MySQL course in the Fall and was wondering if anyone has any recommendations for good textbooks.

The books have to be geared towards a beginner/medium level (I'm assuming/hoping my students will have C++ and MsSQL classes prior to mine).

Topics I want to cover in PHP:

  • Variables/Constants
  • Conditionals
  • Loops/Loop Control
  • Functions
    • Strings
    • Arrays
    • Dates
    • Custom
  • Form Data
  • Session/Cookie/Server variables
  • MySQL integration
    • Query/Error
    • Prepared Statements
    • MySQLi Class

In MySQL:

  • Schema/Users/Tables/Columns/Rows
  • Primary/Foreign/Constraints
  • Data Types
  • Queries
    • Select/Update/Insert/Delete/Truncate
    • Limit/Order By/Group By

Possibly deal with:

  • Stored Procedures/Triggers
  • Image Manipulation/Custom Classes
+1  A: 

I don't know anyone who learned PHP from a book, just online tutorials or the PHP manual. I would say look on Amazon to find a book that covers the topics you want in your course.

Maybe like this. http://www.amazon.com/Beginning-PHP-MySQL-Novice-Professional/dp/1590598628/ref=pd_bbs_3?ie=UTF8&s=books&qid=1236970221&sr=8-3

Jack B Nimble
The PHP CHM Manual is on my quick launch bar! :D
St. John Johnson
A: 

Programming PHP covers all the PHP topics and then some except for the MySQL integration. It has a chapter on databases, but it is fairly basic. I would supplement this with another, MySQL specific book.

Ben S
+1  A: 

I'd suggest something from Wrox (i.e. Beginning PHP5). Their writers use pretty much comprensible language and examples are pretty good.

Alekc
A: 

I used PHP and MySQL for Dynamic Websites, from Larry Ullman and Peachpit. Not the most advanced book, but a good introduction to both. There have been a number of revisions to this book, I was using the second edition some years ago.

Grant Palin
A: 

Build Your Own Database Driven Website Using PHP & MySQL by Kevin Yank of SitePoint is a good run up to building a MySQL database driven site.

Found it first back when it was first published on their site as a series of articles, it was a good read and provides a lot of jumping points to start coding. A nice intro and building ground for this once-was beginner.

random
+3  A: 

Welling & Thomson's PHP and MySQL Web Development is the gold standard:

http://www.amazon.com/PHP-MySQL-Development-Developers-Library/dp/0672329166/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1236994701&sr=8-1

George Jempty
Out of all the books listed, this is the best one geared towards learning PHP and MySQL instead of building your first website. Thank you! I read the table of contents and think I will purchase this one!
St. John Johnson
I agree with @St.JohnJohnson, from the TOC it sounds like a great book. I'm planning on buying it, but I would like to know what @St.JohnJohnson thought about it after he bought it.
ServAce85
A: 

your content design is attract me.i like to study this book.thank for your preparing.

kavitha
A: 

I'm learning using Head First's PHP and MySQL and have found it sound and useful.

omgzor