View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Inserting to Tables

Thread began 11/16/2009 11:59 am by rog4679 | Last modified 11/19/2009 8:06 pm by rog4679 | 1206 views | 6 replies

Eric Mittman

In the insert page for the blog items this is the list of fields you are inserting into:

php:
"BlogsID|blogItemsSubject|blogItemsMessage|blogItemsCon|blogItemsUsername|blogItemsEmail|blogItemsDate"



In here I do not see either of your foreign keys listed for the userID or the blogID. According to your earlier posts you should have these two fields also:

BlogItemsBlgID FK (BlogID PK)
BlogItemsVisitorsID FK (VisitorsID PK)

You will need to ensure that you have these columns specified in your insert server behavior. For the values of these fields you should be using the session user id and your recordset value for the blog id like this:

BlogItemsBlgID FK = $row_rsBlogs['BlogID']
BlogItemsVisitorsID FK = $_SESSION['VisitorID']

Give this a try and update the insert server behavior to insert these values into the columns. If your table structure has changed or is different from what is listed here let me know about the differences and I can help you get things adjusted.

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