checkbox value in php

checkbox value in php

In my HTML,PHP form ..we have a check box that is working fine. But anyhow i am not able to get the value of it. Can anyone suggest how to get the value of checkbox in PHP?

View Answers

May 13, 2011 at 8:09 AM

$value = $_POST['checkbox name'];

echo "$value";

Ads









Related Tutorials/Questions & Answers:
checkbox value in php
checkbox value in php  In my HTML,PHP form ..we have a check box that is working fine. But anyhow i am not able to get the value of it. Can anyone suggest how to get the value of checkbox in PHP
how to get the checkbox value in jsp
how to get the checkbox value in jsp  how to get the checkbox value in jsp?   JSP CheckBox Example - how to get the checkbox value in jsp
Advertisements
How to change the checkbox value dynamically.
How to change the checkbox value dynamically.  Hi, I am using struts 1.2 checkbox tag. Requirement is on page load the value must be "true... the page. Then the checkbox is checked instead it have to show unchecked. And even
store value in checkbox from gridview
store value in checkbox from gridview  Please check the error...; <input type="submit" value=" DELETE "/>&nbsp;&nbsp...;/td> <td><input type="checkbox
how to retrieve a checkbox value(retrieve from DB)
how to retrieve a checkbox value(retrieve from DB)   I facing a problem with checkbox value that already exists inside the database. so how can I...="checkbox" class="dissable" onclick="check();" name="UPSR" value="UPSR_ENGLISH" id
how to insert checkbox value into database using jsp
how to insert checkbox value into database using jsp  how to insert...="center"> <input type="checkbox" name="pmanager" value="Edit...; <input type="checkbox" name="pmanager" value="Deleted" checked><
how to insert checkbox value into database using jsp
how to insert checkbox value into database using jsp  How to insert...;input name="activity7" type="checkbox" id="act_name" name="act_name" value... <input name="activity" type="checkbox" id="act_name" name="act_name" value
how to insert checkbox value into database using jsp
how to insert checkbox value into database using jsp  How to insert...="activity7" type="checkbox" id="act_name" name="act_name" value="caltural_night" />... name="activity" type="checkbox" id="act_name" name="act_name" value="batik
upload value to php server in getmethod in j2me
upload value to php server in getmethod in j2me  Dear Team, I... getting that value i means captured decoded value i want to that value in get method to php server in j2me can you give some tips for me... Thanks and Regards
value in div from php, reloading form
value in div from php, reloading form  I am having one form with name..." name="name" value="<?php echo $name?>" required></td></tr>...="user" name="user" value="<?php echo $username?>" required></td> <
store html value in the sqllite 3 php
store html value in the sqllite 3 php  i have a php script that will parse html page content link and view but i need to know how to store...'); //PHP Simple HTML DOM Parser library $html = file_get_html('www.website.com
checkbox
checkbox  how to insert multiple values in database by using checkbox in jsp
jQuery to Select Multiple CheckBox
program that retrieves the value of selected checkbox from server and displays... the CheckBox data . Here is the code of PHP script (postData.php). <?php...;checkbox_name" value="English"> English<br> <input
jQuery to Select Multiple CheckBox
program that retrieves the value of selected checkbox from server and displays... the CheckBox data . Here is the code of PHP script (postData.php). <?php...="checkbox_name" value="English">English<br> <
JSP CheckBox
" value="PHP"> PHP<BR> <input type="checkbox" name="id" value... request.getParameter Values("id") is used to return the value of selected checkbox...="checkbox" name="id" value="Java"> Java<BR> <input type="checkbox
php
php   what is php   PHP Tutorials
php
php  what is php
php
php using javasript  how to set timer in php using javasript
php
php  i want to know about php and php plateform required software to make php program and database that used in php program?   Please visit the following link: PHP database
php
php  i want to know about php and php plateform required software to make php program and database that used in php program?   Please visit the following link: PHP database
php
", and i use if condition for each value and display by using "echo" but it difficult... shortcut method in php like in javscript seletedIndex
php
php  show the constructor overloading in php
PHP
PHP  How to work in drupal with PHP
New PHP 7.4 Release: The Features and Value Additions
PHP 7.4 new features - New PHP 7.4 Release: The Features and Value Additions PHP or Hypertext Preprocessor as the most popular web language hardly needs any introduction. PHP is almost everywhere on the web, across all CMS platforms
php
php  what is php   PHP is one of the most used open source server-side scripting language, which runs on almost all the platform. PHP... and Solaris. To know more about PHP, Visit Here
php
php  how to write a program in php to create pdf file
Checkbox method
Checkbox method  what is the method to check if the checkbox is checked
php
php  plz tell me code for PHP SQL Insert,delete,update,view is used to insert the record from HTML page to Mysql database using in single PHP form
php
php  retrieve data from mysql in php   Please visit the following links: http://www.roseindia.net/sql/mysql-table/mysql-php-select.shtml http://www.roseindia.net/sql/mysql-example/select-where.shtml
php
php  How to catch a image and link click counters using Ajax php can any one help me
php
php  how to set email remainder in php?can you help me pls

Ads