close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Saving Target List Results

Thread began 11/10/2009 3:38 pm by rc1data | Last modified 11/12/2009 4:29 pm by Eric Mittman | 1894 views | 3 replies |

rc1data

Saving Target List Results

Using the example, how would I store the results in the target list to an array or a comma separated value that I could then save to a database field? I have all Webassist products and know my way around them pretty well. I just can't the results of the target table into a useable form.

Thanks for any help.

Sign in to reply to this post

Eric Mittman

Are you working with PHP, if so you can have the target list post as an array of values. You can then use the implode function to create a string from the array.

You would do this by first adding in square brackets just after the name of the element like this:

<select name="thename[]"

Then after the form is submitted you can refer to the array and implode it like this:

$myvalues = implode(", ", $_POST['thename']);

This would create a comma separated list of the values that were submitted from the select list.

Sign in to reply to this post

rc1data

Thank you!

Thanks Eric. That is exactly what I needed when I needed it. I need to make better use of this forum and skip the part where I frustrate myself for hours before just asking for help.

Sign in to reply to this post

Eric Mittman

Your welcome, I'm glad to help with this stuff whenever I can.

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