News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPFreaks.com:
Working with checkboxes and a database
January 12, 2009 @ 21:13:12

On the PHPFreaks.com website a new tutorial (by Ben Smithers) looks at interfacing checkboxes in your application's form with a backend database.

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.

They include the database structure, insert statements and the code needed to pull and push the information for the checkboxes.

0 comments voice your opinion now!
checkbox database tutorial admin setting


blog comments powered by Disqus

Similar Posts

Konrad Podgórski: A better way to work with assets in Symfony 2

PHPMaster.com: Input Validation Using Filter Functions

Web Developement Blog: Curl: Location redirect while open_basedir is set

WebCheatSheet.com: Secure File Upload with PHP

Developer Drive: Create Your Own CRUD App with MySQL and PHP


Community Events





Don't see your event here?
Let us know!


update opinion community language library package laravel framework deployment tips podcast interview unittest zendserver series install symfony api release introduction

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework