View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

DFP db filename gets overwritten on update

Thread began 11/12/2009 11:46 am by contact318852 | Last modified 1/19/2010 4:33 pm by contact318852 | 4681 views | 36 replies

anonymous

Originally Said By: contact318852
  yes, its value remains <?php echo $row_WADAmember['AvatarFileName']; ?>

the same issue lingers.. if i update any field in the form any file fields that are blank get erased

to ensure we are on the same 'page'

1, if I update all file upload fields at once the image, and the inserted db filename behave as expected - and are returned to the form and display.
2. the 'caption' text fields are not getting erased, on any update, and update as intended.
3. the filename file field in the database gets erased even if I just update one of the 'caption fields' , or update one file field.

I am not well versed in this - but id hazzard a guess that 'something' is getting passed to the dbfilefields and causing an overwrite of the existing entry, but whatever that data is that gets passed im at a loss to understand.  



I have a question about your form... when you update, while I know the update behavior is on the same page, are you having the page just stay at the form page without a redirect first? Such as with DataAsssist's wizard, after an update, it will redirect you to the "detail" page.

The reason I ask is that if you are having it just return to the form page after the update without some sort of redirect in between, you could be seeing a mixture of post data and recordset data (I have experienced this before). Let me know if you are returning to the form page without a redirect... I know a couple of tricks to fix that.

Best regards,

Brian

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