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

Jhbjhkjhkjhkj, Ask questiohgkuhiuhyhkhkjhkjhkjhkjhkjhkhn #Minimum 100 words...

Ask questiohgkuhiuhyhkhkjhkjhkjhkjhkjhkhn #Minimum 100 words accepted#

Custom wordpress site dev and integration with custom data, Custom WordPres...

Custom WordPress site dev and integration with custom data-driven application We have an current site that has been built with native WP functionality. A modest WP user table

Want expert assistance in wordpress plugin development, Wordpress Plugin De...

Wordpress Plugin Development Our company is needing somebody with awesome skills like yours to build a custom WP Plugin are you available for the project? Desired Skills are

Need help to fix cs-cart custom printing of tickets, CS-Cart Custom Printin...

CS-Cart Custom Printing of Tickets We have a cart run on CS-Cart. The shopping cart doesn't purchase items however purchases raffle tickets. What I want is after each order is p

Need help to make small mods to civicrm or joomla, Need help to make small ...

Need help to make small mods to CiviCRM / Joomla Need developer previously familiar with Joomla 3.2 and CiviCRM 4.4 to write some mods to CiviCRM to extend some forms. Job De

We need help in improvement to dating community website, We need help in Im...

We need help in Improvement to Dating Community Website Our website script came with a (mobile version) however members are not allowed to upload photos to the site on the mobil

Omputer Incident Response System_Programming on WAMP platfor, need help wit...

need help with initial programming of the system as displayed in the attachment..its about simple incident response system that , as per my idea, shall be universal and easily depl

I need a help in website development, I need a help in Website development ...

I need a help in Website development I am seeking to build a website that allows users to create profiles upload content and make payment transactions. Job description- I am

Need website design and development for ecommerce, Need Website design and ...

Need Website design and development for ecommerce I would like a humble website designed and developed for ecommerce. I am vending a small range of bath, skincare and home fragr

Html select element, Use the HTML select element (which must be assigne...

Use the HTML select element (which must be assigned a name since it belongs to the form).  Then acquire its input appropriately on the server-side just like you do for text f

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