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

SitePoint PHP Blog: Stored Procedures in MySQL and PHP

SitePoint PHP Blog: How to Install PHP Extensions from Source

ProDevTips: Sorting 2D-arrays in PHP - anectodes and reflections

ServerGrove Blog: How to setup multiple PHP versions on Apache

Chris Shiflett\'s Blog: PHP and Scalability (Again)


Community Events

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


framework interview release php7 opinion voicesoftheelephpant laravel community symfony2 example part2 series introduction conference application language performance api configure podcast

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