Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
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
  #1 (permalink)  
Old June 19th, 2007, 02:48 PM
Registered User
 
Join Date: Jun 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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?

  #2 (permalink)  
Old August 16th, 2007, 05:36 PM
Registered User
 
Join Date: Aug 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanx for giving information .

  #3 (permalink)  
Old October 24th, 2007, 11:04 AM
Registered User
 
Join Date: Sep 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.

  #4 (permalink)  
Old February 5th, 2008, 12:45 AM
Registered User
 
Join Date: Jan 2008
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.



Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 10 gogeo BOOK: Beginning Access 2003 VBA 1 January 22nd, 2006 09:41 AM
Delete last a character in string dtho Excel VBA 27 December 7th, 2005 01:01 PM
Chapter 10: Case Delete charachter sagh BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 0 August 1st, 2005 04:55 PM
Chapter 10 columbiasmiles JSP Basics 0 May 17th, 2004 08:09 PM





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