pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Eckhard Hoeffner <e-hoeffner@fifoost.org>
To: pgsql-php@postgresql.org
Subject: Re: Check Boxes
Date: Mon, 29 Apr 2002 17:52:15 +0200
Message-ID: <20020429155215.GA24762@fifoost.org> (raw)
In-Reply-To: <5.1.0.14.0.20020429083154.00a89760@mail.rccd.cc.ca.us>
References: <5.1.0.14.0.20020429083154.00a89760@mail.rccd.cc.ca.us>

* Julio Cuz, Jr. <jcuz@rccd.cc.ca.us> [29 04 02 17:32]:

>Hi--
>
>Does anyone have any suggestions, SAMPLES, or ideas on how to STORE, 
>RETRIEVE, AND PROCESS values for "Check Boxes" w/PHP & Postgresql?

1.
Use an arry within the HTML-Tags: 

	name="checkbox" value="data[0]"
	name="checkbox" value="data[1]"

2. 
To process with PHP just a simple loop
	
	foreach($array as $var => $value)


-- 
--//--\\--
Eckhard Hoeffner
e-hoeffner@fifoost.org
Tal 44 
D-80331 München



view thread (3+ messages)  latest in thread

Message-ID: <20020429155215.GA24762@fifoost.org>
Permalink:  ../20020429155215.GA24762@fifoost.org/
Also on:    postgresql.org/message-id/20020429155215.GA24762@fifoost.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: e-hoeffner@fifoost.org
  Subject: Re: Check Boxes
  In-Reply-To: <20020429155215.GA24762@fifoost.org>
  References: <5.1.0.14.0.20020429083154.00a89760@mail.rccd.cc.ca.us> <20020429155215.GA24762@fifoost.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox