 |
BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0  | This is the forum to discuss the Wrox book Beginning PHP5, Apache, and MySQL Web Development by Elizabeth Naramore, Jason Gerner, Yann Le Scouarnec, Jeremy Stolz, Michael K. Glass; ISBN: 9780764579660 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 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
|
|
|

June 19th, 2007, 02:48 PM
|
Registered User
|
|
Join Date: Jun 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Chapter 10 Cannot Delete Character
I can create characters, edit characters, add powers, and edit powers, but when I try to delete a character it tells me:
Unknown table 'char_main' in MULTI DELETE
That is the name of the table.
Any ideas?
|

August 16th, 2007, 05:36 PM
|
Registered User
|
|
Join Date: Aug 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
thanx for giving information .
|

October 24th, 2007, 11:04 AM
|
Registered User
|
|
Join Date: Sep 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I've got the same error message as well, I've compared the code twice from the book, tested the sql code that character in Ms-dos and same error message. The problem lies in the SQL code.
SQL:
====
DELETE FROM char_main, char_liar
USING char_main m, char_lair l
WHERE m.lair_id = l.id AND m.id = $cid;
Can someone verify this? Still need an answer to this problem.
|

February 5th, 2008, 12:45 AM
|
Registered User
|
|
Join Date: Jan 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I have got the same error. And I have modified the code following #2 of http://p2p.wrox.com/topic.asp?TOPIC_ID=35015, but got something like: Not unique table/alias: 'char_main'.
Thank you to anyone who can throw some light on this.
|
|
 |