Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > BOOK: Professional PHP 5 ISBN: 978-0-7645-7282-1
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional PHP 5 ISBN: 978-0-7645-7282-1
This is the forum to discuss the Wrox book Professional PHP5 by Ed Lecky-Thompson, Heow Eide-Goodman, Steven D. Nowicki, Alec Cove; ISBN: 9780764572821
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional PHP 5 ISBN: 978-0-7645-7282-1 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old April 1st, 2008, 09:46 PM
Registered User
Join Date: Apr 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 3 - Extra Credit Code [Adding To Database]

I've been stuck on this for awhile now and hopefully someone can help. I've just got done reading this chapter and did the code.. after a few error, I got it to work.. now I don't know how to start to re-code this example to accept new data to write to the database. Can anyone give me some helpful starting points?

For Instance how do you build a new Individual? the class the way it is coded only excepts id's so it will build from the database.. but how do you add a new record? since you can simply add

$test new individual; // with out calling a id number for it to get it's information from??
  #2 (permalink)  
Old November 15th, 2009, 02:00 AM
Registered User
Join Date: Oct 2009
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts

any one came up with a solution?

Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Code Error - Chapter 1 - Adding a Property cbesh2 BOOK: Professional PHP 5 ISBN: 978-0-7645-7282-1 0 November 7th, 2008 10:29 PM
Credit Card Processor stu9820 ASP.NET 1.0 and 1.1 Basics 3 June 22nd, 2007 02:51 PM
Debit and credit formats Tachyophan Access VBA 0 October 24th, 2006 07:17 AM

All times are GMT -4. The time now is 11:53 AM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.