Subject Re: [firebird-php] Tick Boxes on web page
Author Lester Caine
Johan van Zyl wrote:

> http://www.abbanis.com
> On Businesses For Sale page
> I would like the public to be able to browse that page and to say
> double-click on a row, or in another way, put a tick in a tick box, to be
> able to select one or more businesses for sale like this, then click a send
> button to send an e-mail with all these Ref No's contained in the body of
> the e-mail, etc.
> How do I do this?
> Using Fusion, Dreamweaver, Firebird, PHP.

Don't know about Fusion and Dreamweaver - they cost money so I don't use
them ;)

There are many ways of doing this, but basically you need to end up with
a 'FORM' and a submit button at the bottom. Populate an extra field with
a check box, with a name linked to the reference number, so the users
can switch them on and off, and the submit button will post all the
checks which you will need to process in the 'submitted' page php.

A quick fix approach could be provided by a simple button rather than
the check box, that posts a single get variable, allowing selection of
items one at a time. The page would look for the '?select=B918' and post
the request before simply refreshing the page.

I would be looking to a logon to capture the enquirers name and address,
and generate database entries for the items they select, but that is
getting a lot more complicated ;)

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services