Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > BOOK: Professional PHP 5 ISBN: 978-0-7645-7282-1
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 1st, 2008, 09:46 PM
Registered User
Join Date: Apr 2008
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??
Old November 15th, 2009, 03: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?

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 11: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

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.