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

We are looking for expert coldfusion programmer, We are looking for Expert ...

We are looking for Expert ColdFusion Programmer - must be in Northern VA/DC area We are in want of an expert ColdFusion developer who can help us with a project that involves ec

In search of experienced cake php coder to help in launch, In search of exp...

In search of experienced Cake PHP coder to help in launch of new site We are seeking someone to assist our small team of developers to handle minor code tweaks as well as error

Seeking a team to build advanced website, Seeking a team to build advanced ...

Seeking a team to build advanced website with two web applications Seeking an experienced team to build a state of the art website for my hair company that comprises two applica

Need help in house rental tracking hosted web gui and db, House Rental trac...

House Rental tracking Hosted Web GUI and DB Want a web interface program to track short term rentals of multiple vacation properties. Most information wants to be scraped twice

I want help in custom php work, I want help in Custom PHP Work I have a ...

I want help in Custom PHP Work I have a website in wordpress and woocommerce with a custom php designing module created not complete. Can share details to the right person. W

Copy and modify website for writing service, Project Description: We wou...

Project Description: We would like to prepare a writing service website. We need to make it very simple > someone come to the site to purchase content for a project > client pic

Wordpress admin/programmer needed, WordPress Admin/Programmer In order t...

WordPress Admin/Programmer In order to participate please answer to the following questions- 1) What is a child theme? 2) When do you use a child theme? 3) Please give

I am in need of php copyscape script expert, I am in need of PHP Copyscape ...

I am in need of PHP Copyscape Script expert Want a sample PHP script which sends text to Copyscape as well as fetches the result along with balance in XML. Desired Skills are

Add layout cell, Next insert a layout cell for the Learn More regarding gra...

Next insert a layout cell for the Learn More regarding graphic. 1. In the Objects panel, click on the Draw Layout Cell icon. 2. In the Document window, draw new cell within t

We need a team of web expert, We need a team of web expert I will get to...

We need a team of web expert I will get to the point. A website is completed as well as hosted under a VPS and the code is written in python. Here's what I am in search of- 1

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