View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Inserting records into Multiple Tables at one with DataAssist is this possible

Thread began 8/24/2009 6:58 am by neil.batchelor254136 | Last modified 10/07/2009 3:33 pm by neil.batchelor254136 | 4344 views | 19 replies


Allowing a user to only update records they input


I am close to tearing my hair out with this query now. Please please help me!!!!
I want to create an insert record (done) and after insert have an update link. (done)
The update link only allows the user to update the record they input prior.

I have created a column in the db table to record the user session id to link this to the user.

"So I have now associate the Listing User ID (one of the primary keys on the listings table) to the USER ID (one of the primary keys on the USER table), using the following code.
Data Assist Insert record, then lightening bolt, then in please select a server entity field: Session: Select USER_ID.
<?php echo $_SESSION['USER_ID']; ?>"

I have followed all the instructions to data.
I am not a expert developer.

I have created the query below and as directed deleted the variables that are not listed in the SQL statement.


Also as per your suggestion I: "if you are not going to use those variables in the SQL, then remove them from the variable list."

However it does not work?? I still get an error.

Eric has previously advised that I need to change the SPRINTF statement.
However I am totally lost here.
I do not know how to change the SPRINTF statement.

I have 9 insert record forms on the different pages so I need to have 9 corresponding update pages where only the previously inserted results are received.

Examples of the insert and update pages are attached or can be found at:


Many thanks.

Attached Files

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





Ease of use


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