close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Mysqli Radio Buttons

Thread began 8/08/2014 8:14 am by laboy390110 | Last modified 8/08/2014 12:23 pm by Jason Byrnes | 1419 views | 3 replies |

laboy390110

Mysqli Radio Buttons

We have these radio buttons on the update page. We can insert, update them, but we can't see the actual value on the update page. The 'radio' will remain in "No". Please help us to populate the buttons from $rsBusiness - column "business_is active". The value in the database is correct, but the buttons don't display correctly.

<label>
<input <?php if (!(strcmp(($rsBusiness->getColumnVal("business_is_active")),"1"))) {echo "checked=\"checked\"";} ?> type="radio" name="Active" value="1" id="RadioGroup1_0">
Yes</label> &nbsp;
<label>
<input <?php if (!(strcmp(($rsBusiness->getColumnVal("business_is_active")),"0"))) {echo "checked=\"checked\"";} ?> name="Active" type="radio" id="RadioGroup1_1" value="0" checked>
No</label>

Thanks for your help...

Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

laboy390110

My mistake. Found that we had the initial value "checked" to NO. Thanks 4 your prompt response...

Sign in to reply to this post

Jason ByrnesWebAssist

You're welcome.

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