close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Hello, problems record insert form inserted data displayed, only repeated description exactly write

Thread began 1/15/2019 7:35 am by anonymous | Last modified 1/28/2019 9:34 am by anonymous | 2725 views | 25 replies

anonymous

update and delet record

Originally Said By: Ray Borduin
  Please attach copies of the pages you are working on instead of copy/pasting their content. That way I can open them in Dreamweaver. Also, please post once per issue instead of combining two pages, so we can both keep track of what we are talking about.

For the update page you shouldn't have bound a value for the ID field... this line should be deleted:

$UpdateQuery->bindColumn("ID", "i", "".($termineedit->getColumnVal("ID")) ."", "WA_DEFAULT");

You aren't updating the ID... it stays the same.

Your recordsets on both pages aren't filtered. Don't even try to update or delete the record before you can link to it and display it on both pages.

The Delete page it looks like you don't have a value specified for the lookup value. If you link to the page like: deletepage.php?ID=1

Then you should be filtering the recordset with <?php echo($_GET["ID"]); ?>

And then you should use that same value as the lookup value for your update and delete.  



Hello,
Thanks for the quick response - I've tried to follow your instructions, unfortunately I'm not a programmer and therefore have these difficulties. When I filtered the ID, this error message came up:

SELECT * FROM Dates LIMIT -1,1
You have an error in your SQL syntax; MySQL server version for the right syntax to use near '-1,1' at line 1

and the page was no longer displayed or the ids were not counted. I admit that I'm overwhelmed by totol. I send by mail the Dreamweaverseiten, because I do not know how I could send the files otherwise ..... maybe you can help me yes. I'll probably put the wrong values in the tables.

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