Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0
This is the forum to discuss the Wrox book Beginning PHP5, Apache, and MySQL Web Development by Elizabeth Naramore, Jason Gerner, Yann Le Scouarnec, Jeremy Stolz, Michael K. Glass; ISBN: 9780764579660
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old March 12th, 2011, 12:26 AM
Registered User
 
Join Date: Mar 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Need Help!! on Checkbox click how to check from database whether clicked check match.

Hi I have form with 4 input box.
Say like A,B, C,D. Now what i have to do that suppose B is the correct answer to the question. I have to check on click of a checkbox from MySql that clicked checkbox is correct or not and displays a message on click of a checkbox as " right answer or wrong answer.

Code:
<input type="checkbox" id="chkOne" name="chk[]" value="A"> A<br>
<input type="checkbox" id="chkOne" name="chk[]" value="B"> B<br>
<input type="checkbox" id="chkOne" name="chk[]" value="C"> C<br>
<input type="checkbox" id="chkOne" name="chk[]" value="D"> D<br>
After doing so that question will be disable permanently for that user.
I am new to Ajax. Please give me an idea to do that.


Help will be very much appreciated.
Reply With Quote
  #2 (permalink)  
Old March 14th, 2011, 08:39 AM
Registered User
 
Join Date: Mar 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default No One to Help

No One to Help
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to check if ImageButton is Clicked in ASP? Gayathri79 ASP.NET 3.5 Basics 4 June 22nd, 2010 05:31 PM
How to check if Button is Clicked in ASP? Gayathri79 ASP.NET 3.5 Basics 5 May 24th, 2010 04:55 PM
Enable Radio when check on Checkbox... rupen Javascript How-To 2 June 28th, 2006 04:44 AM



All times are GMT -4. The time now is 11:20 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.