how to store selected checkbox value to mysql database...explain in detail....
Loading
Share Your Source Code or Article
Do you have source code, articles, tutorials, web links, and books to share? You can write your own content here. You can even have your own blog.
Submit now...
Submit now...
Sponsor
Receive Free Updates
Today's popular content
- Hotel Reservation System (473)
- Payroll System (427)
- Hotel Reservation System (VB.NET) (427)
- Library Management Software (421)
- A Simple Add, Edit, Delete, and Search using VB and MSAccess (409)
- Students Information System (405)
- How to Add/Update/Delete Record using MS Access Database (405)
- Free Hotel Management System Manual (339)
- Sending SMS using AT Commands via GSM Modem/GSM Phone (receiving SMS-updated) (292)
- Library System Source Code (256)
- 1 of 204
- ››
Random Post
- "this" IN JAVA VER.1.1 (1,012)
- LOADING CIRCLE... (4,049)
- Even ,Odd numbers in an array (3,278)
- Billing System (9,650)
- Regworks Registry Editor (2,422)
- ExamDiff – Free Visual Tools for Comparing Two Files (1,686)
- User control Using Progress Bar and text concatenation. (2,540)
- Monitoring System using VB (6,663)
- Updated Phone Book System using ADO.NET OOP (5,720)
- Barangay Monitoring System .NET (6,685)
- 1 of 133
- ››
Whether you work with MySQL or MS Access/SQL Server the concept is still the same. Study my "Database Programming Made Easy" to get started.
i am a student and i want to try to develop a bookshop system but i am failing to show that a book has been sold on an interface and how to implement this---please help me
hi sujitha, do you know about PHP array?
you can store check box value by making it an array and serialize when calling it.
Please Research about PHP Array Serialize.
Thanks,
janzell
what the code above does is it returns the value of checkbox when the the form is submitted.. Ofcourse you need to assign a value to the checkbox:
<input type="checkbox" name="checkbox_value" value="some value here" />gtwebworx dot com
in your query: "insert into `mydatabase`.`table`('ID','Value') Values('',{$_GET['checkbox_value']})"..etc.
gtwebworx dot com
I just want to share you the idea on how to accomplish thing like this.
all you need to learn is Array and how to store Array into database, you can find a lot in the net ;)
Pages
Add new comment