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

Developer to build a custom made interactive gaming website, Interactive Ga...

Interactive Gaming Website I want a developer to build a custom made interactive gaming website. Requirements will be from- a) website design b) gaming app design c) da

We need help to develop drag and drop mobile website builder, We need help ...

We need help to develop Drag and Drop Mobile Website Builder I am in search of someone who can help me with a drag and drop mobile website builder that I am developing. I wan

Develop an ecommerce website in the optical industry, Develop an ecommerce ...

Develop an ecommerce website in the optical industry that will allow customers to shop for frames upload/order prescriptions and have a shopping cart and pay. Need to look similar

Session management, I need help with adding session management to my login ...

I need help with adding session management to my login webpage. It is the MVC method and has 2 models and 1 view alongside the login page of course. I just need assistance with the

Website paypal integration, Website PayPal integration We have popular o...

Website PayPal integration We have popular of the site developed. We are looking to integrate our website payment system with PayPal. Seeking an experienced developer with PayPa

Can someone help us implement geoip2 on our website, GeoIP2 installation as...

GeoIP2 installation assistance Can someone help us implement Geoip2 on our website? We have GeoIPlite working as we speak. We now need to update it. Desired Skills are PHP

Apply color and style on text, You will now apply additional formatting cha...

You will now apply additional formatting changes to the text like changing the color & style to generate heading text. 1. In the primary text description layout cell, choose t

I need help in create static html pages, Create Static HTML Pages We are...

Create Static HTML Pages We are a travel search engine provider placed in Germany. We are probing for a developer who can create a bunch of static HTML pages for connections amo

File menu in dreamweaver, File Menu: Under it we have New, Save as, Save, S...

File Menu: Under it we have New, Save as, Save, Save as template, Export, Import, Preview in browser so on options. Edit Menu: In this menu we have Copy,  Cut, Paste, Redo, Undo

Seeking a web developer to transfer site, Amazon Webstore Developer Seek...

Amazon Webstore Developer Seeking a web developer to transfer functionalfitnessoutlet.com to an amazon webstore. Job Description- We're looking for a Web Developer. Your r

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