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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

error message when calling customer_order_details.php

Thread began 5/02/2010 2:32 pm by matt374640 | Last modified 5/10/2010 12:18 pm by matt374640 | 861 views | 7 replies |

matt374640

error message when calling customer_order_details.php

I have created according to the tutorial a customer_order_history.php page and also a customer_order_details.php page. The first page works really fine, but when I click on an order number to get to the customer_order_details.php page then I only get the following error message:

Unknown column 'WADAOrderID' in 'where clause'

Any idea what went wrong??

Sign in to reply to this post

Jason ByrnesWebAssist

for some reason the string WADAOrderID is being used in the where clause.

when creating the where clause create it as:
WHERE <id column> = paramOrderID

Then create a new parameter:
Name: paramOrderID
Type: number
Default Value: -1
Runtime Value: $_GET['WADAOrderID']

Sign in to reply to this post

Jason ByrnesWebAssist

if you are still having problems, please send a copy of your pages.

Sign in to reply to this post

matt374640

Sorry, but I do not have a clue, what you mean. I sent you the page as attachment

Attached Files
customer_order_details.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

somehow the WADAOrderID parameter got deleted in the recordset.


double click the WADAorderdetails recordset.

In the parameters section, click the plus button to create a new parameter.

Name: WADAOrderID
Type: Number
Default Value: -1
Run Time Value: $_GET['OrderID']

Sign in to reply to this post

matt374640

Please apologize my dump question, but where can I find this

WADAorderdetails recordset

server behavior???

Sign in to reply to this post

Jason ByrnesWebAssist

Yes, it is in the Server Behaviors panel.

Sign in to reply to this post

matt374640

Thank's it is working

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...