close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Undefined index using Manage Relational Tables

Thread began 12/08/2014 1:36 pm by Mushroom-Graphics | Last modified 12/09/2014 3:43 pm by Jason Byrnes | 375 views | 3 replies |

Mushroom-Graphics

Undefined index using Manage Relational Tables

Hi,
I am following the Manage Relational Tables tutorial. I seem to do ok with it but am getting an error on my update page:
Notice: Undefined index: product_id in C:\xampp\htdocs\officefurniturezone.com\Admin\products_update.php on line 200

I have gone through it 3 times ans still seem to be getting the same error each time. Can you tell me where I am going wrong? I have attached the actual page. Thanks
Larry

Sign in to reply to this post

Jason ByrnesWebAssist

line 200 sets the master key value to use the product_id url variable:
$WA_masterKeyValue = "".$_GET['product_id'] ."";


the error suggests that you are not passing a url variable named product_id in the link to the update page. when you open the update page, what is the full address in the address bar? it should include a precept_id variable, for example:

products_update.php?product_id=212

Sign in to reply to this post

Mushroom-Graphics

Good Grief

I was looking at the page directly on the testing server so of course product_id was not being passed.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...