View Single Post
  #3 (permalink)  
Old Apr 21st, 2008, 14:25
Sphinx111 Sphinx111 is offline
New Member
Join Date: Apr 2008
Location: York
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Undefined Index error with DB

Thank you for the swift response.

Excuse my illiteracy, but would I need to set the $_POST['author_id'] in a previous PHP page? Or amend the SQL database?

The table I am trying to access (a list of author's of books) has the primary key author_id; I thought it would be possible to identify the fields of this table via the key, and was using the aforementioned code to call that data, so that it could be edited if neccesary.

Regards.
Reply With Quote