Membership
Main Menu
Forum Boards
Stats
- 23 tutorials
- 83,176 members
- 876,580 forum posts
- 33 blog posts
Tutorials
Working with checkboxes and a database
by Ben Smithers on Jan 10, 2009 12:47:52 PM
Views: 46797
Introduction
Over in the php help forum, the question of how to deal with checkboxes arises pretty often. Usually, people want to be able to select which rows of a database to update/delete/throw out the window.
The concept is actually pretty simple. It involves naming your checkbox as an array and the use of the IN mysql clause. This tutorial aims to give a simple example in the hope that, next time someone asks, I can point them to a tutorial rather than explaining all over again.
Right, on with the show.
Comments
1. savagenoob on Mar 1, 2009 8:34:25 PM
2. acctman on Mar 10, 2009 7:05:57 PM
3. Ben Smithers on Mar 11, 2009 4:00:25 AM
4. Alpho011 on Apr 1, 2009 2:06:53 PM
5. aviavi on Apr 15, 2009 4:25:07 PM
6. xnowandtheworldx on May 2, 2009 1:17:02 AM
7. Paprikate on Jun 24, 2009 9:56:45 AM
Login or register to post a comment.
