close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

update not updating

Thread began 5/13/2015 10:47 am by LionsMane | Last modified 5/13/2015 11:31 am by Ray Borduin | 1390 views | 5 replies |

LionsMane

update not updating

I have a simple Update function using the mysqli tools, but the form is failing to update the record, and it's pretty simple. Only one field is being updated, and it's the right field/data type. The appropriate column and ID appears to be in the code. The script is redirecting as expect, but the record simply isn't being updated, and there's no error. Help??? Page attached.

Sign in to reply to this post

Ray BorduinWebAssist

Your hidden field for the parcel id seems to be set wrong. You have:

<input name="ParcelID" type="hidden" id="ParcelID" value="<?php echo((isset($_POST["ParcelID"]))?$_POST["ParcelID"]:"") ?>">

and I think it should be:

<input name="ParcelID" type="hidden" id="ParcelID" value="<?php echo($Recordset1->getColumnVal("ParcelID")); ?>">

Sign in to reply to this post
Did this help? Tips are appreciated...

LionsMane

Gah.. you're absolutely right. You guys are awesome if for nothing else, then a great second set of eyes to help catch this little stuff. THx again

Sign in to reply to this post

LionsMane

working code

PM

Sign in to reply to this post

Ray BorduinWebAssist

You have to update your <form> tag and add method="post"

Sign in to reply to this post
Did this help? Tips are appreciated...

LionsMane

Wow.. it's those little things, right?

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