Tagged Questions
0
votes
2answers
6k views
Inserting checkbox values into MySQL Database with PHP
everyone.
I know this is a far treated subject, but I've looked everywhere and cannot get it solved.
I have a series of checkboxes in my webpage and need to insert the values into a database.
For ...
0
votes
1answer
3k views
store multiple checkbox values to database using php and mysql
I want to store the multiple checkbox values to store in a single field. I use that link http://www.mindfiresolutions.com/Storing-array-data-to-MySQL-using-PHP-1296.php. But i dont get the result.Give ...
0
votes
2answers
2k views
put the value of radio button and check box into database PHP [closed]
I would like to try insert the value of checkbox and radio button into my database...when I choose the option of checkbox and choose the option of radio button, the value of checkbox and radio button ...
0
votes
2answers
433 views
passing checkbox ID to another php file
let's say i'm generating some sort of html table (from mysql queried data) with a checkbox at each row with something like
$display_string = "<form action=\"delete.php\" method=\"post\">";
...
2
votes
2answers
964 views
Structuring SQL querie based on multiple checkboxes state
I'm making a restaurant search in which users can filter the search based on many criteria...
I have three tables:
Table1 - **Restaurant**
------+----------+----------
id + name + place
...
0
votes
1answer
2k views
how to insert multiple data to mysql using checkbox corresponding value?
i have been trying to insert multiple values to mysql using checkbox.
my code goes like this.
<form name='form' method='post'>
<table>
<?php
$id=$_REQUEST['ID'];
...
2
votes
5answers
1k views
How do i add disable a checkbox using php
$query = "SELECT * FROM seats WHERE SeatStatus = 1";
$display = @mysql_query($query);
if ($display){
$disable = "disable";
}
<input name="ch1" type="checkbox" id="A1" value="" <?php echo ...
2
votes
4answers
2k views
Deleting a row from a database table using checkbox
I want to display a record from a database in a table with checkboxes in every row. That checkboxes will determine if the user wants to delete that specific row if it will be checked. I was able to ...
1
vote
1answer
2k views
Update database with checkbox php mysql
I want to update the database with a checkbox in checked state.
If it is checked then update the database with 1.
Else if it is unchecked then update it with 0.
It works fine but it doesn't work ...
0
votes
0answers
131 views
Checkbox value insert into MySQL
Here is what my front end looks like. I have created checkbox for email on and off, and I would like to store this ON/OFF information in MySQL.
This is my PHP code
<!DOCTYPE html>
...
0
votes
2answers
595 views
Need help storing check box, radio button, and drop down menu data in mysql
I am trying to have my form data stored in a mysql database. I want everything that the user types or clicks to be stored there. I am able to have my text fields stored in mysql successfully. I am ...
0
votes
1answer
954 views
php and mysql - Send checkbox, radio button, and drop down menu results from user to mysql database and store it there
I am trying to have my form data stored in a mysql database. I want everything that the user types or clicks to be stored there. I am able to have my text fields stored in mysql successfully. I am ...
0
votes
3answers
240 views
Can't determine status of checkbox in Grid View
I have a GridView with Checkbox within it. But I'm having real problem with determining if a check box of a given row is checked or not.
I need to retrieve a certain value from a row and put it into ...
0
votes
2answers
1k views
Separate comma separated values from mysql table
I have a table naming related_products,
Where
products_id is the main product.
and related_products_ids consist of product ids related to the main product.
...
0
votes
2answers
228 views
Using input checkboxes with a database
So I'm trying to help a friend out by writing his guild an attendance tracker for raiding and whatnot. Right now my concept is to do a select * from the user column, and make a checkbox for each ...