close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Insert Multiple Records Question

Thread began 6/24/2009 5:50 pm by eyethian348566 | Last modified 6/26/2009 6:15 am by eyethian348566 | 1974 views | 3 replies

eyethian348566

Insert Multiple Records Question

Hello.

I've finally got around in using DataAssist. Not bad. However, there seemed to be a 'gotcha' or two. Maybe it's just a clash of coding preferences and/or styles.

I finally used the Insert Multiple Records server behavior. The gotcha was that I used the form names as student[] array instead of student0, or student1, etc. for dynamically generated records. This way, when PHP 'POST's the form, there'll be a nice array of student[] for me to work on. (For more examples, google "dynamic forms array php" to get the gist of what I'm using.)

Apparently, DataAssist insists on naming them as student[]_0, student[]_1, student[]_2, and breaks the script. :( The script can't 'find' the fields and simply aborts the process.

Is there a way I could use my dynamic form arrays instead of the using counter scheme for the Insert Multiple Records server behavior? I could rewrite my form to use appended counter values, and hope it doesn't break anything else.

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