hay neil
im all :$ as its gonna sound really silly
1st i had mucked up select name
it shud be
orr the way i need it xactly
$rq_skllz = 'must_skllz[]';
then i call the file "ftch_rq_skllz.php";
so the name is set to must_skllz[] in select tag
then on the process page
$i=0; $j=0;
while($ims
guyz
thnx a zillion all of u
its all solved n dun
i skrwd my own code up fo my slf
thnx again all of u
eternally grateful
toby ..
--- Neil Smith <[EMAIL PROTECTED]> wrote: > One more thing
(dunno if it has been mentioned ) :
>
> select id=qlf_opt name=rq_qlf
>
>
> You have different
thnx rt for the reply
heres my latest try at it
multi_select.php
$rq_skllz_ftch_qry = "select skll, skll_id, sq from
tbl_lookup_skllz_qlf where sq='s' or sq='n'";
$rq_skllz_ftch_qry_rzlt_hndlr = mysql_query($rq_skllz_ftch_qry)
or die("qry failed ! da tbl must xixt in da
Sorry. I missed the original message but if I understand it right
you want to send multiple selections from a select box to PHP.
If you add [] after the name it will create an array with the data
that's sent to the server
ie
selection 1
etc
The variable $foo[0] or $_POST['foo'] would have the f
thnx a mill guyz for ur replys
but im still stuck
nuthing seem to be working n im closing-in on my ded line
id be eterrnally gratefull if anyone could suggess an alternative to
allow multi-selection of values fetched from the db
the only prob is the values are aorund 40 outta which a user has t
Also if you name your with array notation:
echo(" 0) {
?>
one
two
three
--Christopher
Quoting Neil Smith <[EMAIL PROTECTED]>:
> Hi Toby - I can't actually fllw yr frm cs t hs n
No, that's XHTML that requires all tags to be closed.
-Original Message-
From: Neil Smith [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2003 3:22 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re:Subject: multiple selections and checkboxes
Hi Toby - I can't actually fllw y
Hi Toby - I can't actually fllw yr frm cs t hs n vwls n t !
However, I notice you are not closing the tag. Maybe that would
help ?
AFAIK, HTML requires tags to be close.
HTH - My 2c
Cheers,
Neil Smith.
At 09:51 18/03/2003 +, you wrote:
/* echo("
");
for ($count = 1; $qlfz_i