Re: [PHP-DB] Building A Query

2004-02-11 Thread Jason Wong
On Wednesday 11 February 2004 23:18, Benjamin Jeeves wrote:

> I have a form with a number of checkboxs on it and what I would like to be
> able to do is build a query base on the checked checkedboxes.
>
> The database I am using is mysql

If you're looking for tutorials, ask google, there are plenty around.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
--
/*
If all the cars are coming your way -- you're probably going the wrong way on 
a one-way street
-- Murphy's Driving Laws n9
*/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Building A Query

2004-02-11 Thread John W. Holmes
From: "Benjamin Jeeves" <[EMAIL PROTECTED]>

> I have a form with a number of checkboxs on it and
> what I would like to be able to do is build a query
> base on the checked checkedboxes.

All depends on what you're actually doing, but I assume each checkbox is
related to a row in the database? And each row as a unique identifier (like
an auto_increment number)?

If you name you checkboxes such as "box[]" and put the unique identifier as
the value, it's easy to build a list of checkboxes that were checked.





You can now build a query such as:

http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] Building A Query

2004-02-11 Thread Benjamin Jeeves
Hi All

I have a form with a number of checkboxs on it and what I would like to be able to do 
is build a query base on the checked checkedboxes. 

The database I am using is mysql


Thank You

Ben