close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Using With Dreamweaver 8 Insert Record Server Behavior

Thread began 4/29/2009 2:48 pm by visser.ha378346 | Last modified 5/01/2009 6:25 am by visser.ha378346 | 8815 views | 8 replies

visser.ha378346

Originally Said By: Ray Borduin
  Really I would suggest getting DataAssist, which allows you to update a field with any value from any source not just directly from a form.

To use the DW Insert, you would:

1) add a hidden form element to the page
2) bind the update to the value of the hidden form element
3) in between the code that uploads the file and the code that inserts, add code:

<?php
$_POST['HiddenFormElementName'] = {server file name value from bindings};
?>  



OK. I have:
1) <input name="cc_img" type="hidden" id="cc_img" />
2) WA_DFP_SetupUploadStatusStruct("WA_UploadResult1");
if(isset($_POST["submit"])){
WA_DFP_UploadFile("WA_UploadResult1", "cc_img", "../../images/nophoto/No-Phot-Available.jpg", "../../photos/community_connections/", "[FileName]", "2", "[FileName]_[Increment]", "30", "true", "141", "119");
}
3) $_POST['cc_img'] = {server file name value from bindings};
**I don't understand what goes between the brackets.** Sorry. I'm a complete NEWBIE!

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