Web Design Tutorials: Photoshop, HTML, Flash, PHP

PHP Tutorial – Working with checkboxes and a database

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...

Powered by WordPress | Designed by Elegant Themes