Checkbox, PHP Web Programming

Assignment Help:

These are used while one or more out of the group of options is to be selected. Building Check boxes is extremely similar to radio buttons. Below given code illustrates the use of Checkbox.

The user can select any number like 1, 2, none or all of the options. The alternative will be returned to you as the name/value pairs

Ajay=YES Tarun=YES

(or whatever the user selects. If nothing, nothing will be returned to you)

There is code for making a table having different options for three different questions. Try it yourself and view the result.

<CENTER>

<TABLE WIDTH=600 BORDER=1 CELLSPACING=1><TR>

<TD WIDTH=199>

Which is your friends? <BR>

<INPUT TYPE=CHECKBOX NAME="Friend?Ajay" VALUE="YES"> Ajay

<BR>

<INPUT TYPE=CHECKBOX NAME="Friend?Rohan" VALUE="YES"> Rohan

<BR>

<INPUT TYPE=CHECKBOX NAME="Friend? Tarun" VALUE="YES"> Tarun<BR>

<INPUT TYPE=CHECKBOX NAME="Friend? BU" VALUE="YES"> Bunty<P>

</TD>

<TD WIDTH=200>

Which of your friend would you lend money to? <BR>

<INPUT TYPE=CHECKBOX NAME="Lend money?. "Ajay" VALUE="YES"> Ajay <BR>

<INPUT TYPE=CHECKBOX NAME="Lend money? "Rohan" VALUE="YES"> Rohan <BR>

<INPUT TYPE=CHECKBOX NAME="Lend money? "Tarun" VALUE="YES"> Tarun <BR>

<INPUT TYPE=CHECKBOX NAME="Lend money? BU " VALUE="YES"> Bunty<P>

</TD>

<TD WIDTH=199>

Which of these guys would you trust with your brother? <BR>

<INPUT TYPE=CHECKBOX NAME="Date sister? Ajay" VALUE="YES"> Ajay

<BR>

<INPUT TYPE=CHECKBOX NAME="Date sister? Rohan" VALUE="YES"> Rohan <BR>

<INPUT TYPE=CHECKBOX NAME="Date sister?  Tarun" VALUE="YES"> Tarun<BR>

<INPUT TYPE=CHECKBOX NAME="Date sister? BU" VALUE="YES"> Bunty<P>

</TD>

</TR></TABLE>

</CENTER>

2124_Checkbox.png

Figure: A Form on a Web Page with Checkboxes


Related Discussions:- Checkbox

I need re-development website, I need Re-development website Project Des...

I need Re-development website Project Description: All the functionality to you use for this website Skills required are .NET, MySQL, SQL, PHP, Website Design

Gravity forms wp expert wanted to re-program form, Gravity Forms WP Expert ...

Gravity Forms WP Expert Wanted To Re-Program Form We want a TRUE WordPress/Gravity Forms developer who is expert at customizing a form with a specific UI/Look as well as Feel. O

I desire help for website development, website development 1. You want t...

website development 1. You want to have ideal about different time zone at the world, instance, USA have few different time zone, Los Angeles, New York, and USA change time twic

Preview of document in dreamweaver, You can't view rollover behavior within...

You can't view rollover behavior within Dreamweaver's Document window; rollover images work in a browser only. Though, you can preview the document within Dreamweaver to make out i

We need to create web chat application, We need to create Web Chat Applicat...

We need to create Web Chat Application Please read project requirements- general info- Its web chat application which supports audio as well as video chat - I do not want

Sharing website, Hello, i''m building a sharing website for an internet pro...

Hello, i''m building a sharing website for an internet providing company, i want this website to be accessed by only registered users for that company or else the website would be

Explain the design features of web site, Evaluate the features of the MU we...

Evaluate the features of the MU website in terms of its usability, legal requirements and ease of search by search engines. You need to make use of relevant usability evaluation te

Web app on ruby on rails, WEB APP Laravel PHP, MongoDB, Python Flask, An...

WEB APP Laravel PHP, MongoDB, Python Flask, AngularJS, Celery or Gevent, Bootstrap, But I am likewise open to Ruby On Rails or other tech if reasoning is clear. Desired Skill

Need help rtl open cart without payment model, RTL Open Cart without paymen...

RTL Open Cart without payment model I want the following for a client- 1) Open Cart store 2) User must be logged in to make an order (obviously), but- 3) No Payment mod

We need taking over development on our website, We need Taking over develop...

We need Taking over development on our website In search of a web developer with a great skill set. Our website is almost done. We want to add secured payment system, another bl

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd