close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

HTML Select Menu Error when Binding Using MySQLi

Thread began 9/10/2014 10:11 am by Me | Last modified 3/06/2015 11:24 am by Jason Byrnes | 731 views | 5 replies |

Me

HTML Select Menu Error when Binding Using MySQLi

I am trying to set the value of a select menu (to Persistent Bindings). However, when I click OK, it evokes an error.

Please see the attached image.

Please advise

Sign in to reply to this post

Jason ByrnesWebAssist

This seams to be a bug when adding a dynamic value to a static select list, i have logged it in our system to be corrected in the next update.

you can manually add the code to the list options using the following format:

<option value="option value" <?php if (!(strcmp("option value", ($recordsetName->getColumnVal("Column Name"))))) {echo "selected=\"selected\"";} ?>>option label</option>


the keys are the option value
value="option value"

and the 2 arguments for the string comp function

Sign in to reply to this post

Web Designer Troy

Same issue. How to initiate as first time user?

This is the first time I am using the MySQLi Server Behavior. Is the above format all I need, or is there a script or file I need to save to the server?

Sign in to reply to this post

Jason ByrnesWebAssist

The above format is how you can add the dynamic select attribute at this time.

Sign in to reply to this post

Me

Has this issue been resolved as yet? I'm guessing not.

Sign in to reply to this post

Jason ByrnesWebAssist

yes, this has been fixed in MySQLi 1.0.3.

It was added as a hot fix so if you already 1.0.3 installed, uninstall it from the extension manager, then install it again to install the fix.

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