hay neil
im all :$ as its gonna sound really silly

1st i had mucked up select name
it shud be <select name=rq_skllz[]>
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($i<count($sk) && $j<count($msk)){ 
        echo("dzrd");
        print $sk[$i]; 
        print ", ";
        echo("<br>mst");
        print $msk[$j]; 
        print ", "; 
        $inzrt_dzrd_skllz_qry = "insert into tbl_jrd(dzrd_skllz,mst_skllz)
values('".$sk[$i]."','".$msk[$j]."')";
        
        $i=$i+1;
        $j=$j+1;
} 

this bitta code i came accross at
http://www.webclass.ru/tut.php?tut=16

trimmed it a bit n atleast now im catching the all the valuez 


:D

n guyz
since im at it 

now i cant make the insert query work :$

stuck again

can n will someone plz help || tell me to stop coding since i cant
make a lil query work fo me 
:(


thnx a mill


dishearted

toby 

 --- Neil Smith <[EMAIL PROTECTED]> wrote: > Fantastic.
And the solution was what, exactly :-?
> 
> Cheers,
> Neil.
> 
> At 10:40 19/03/2003 +0000, you wrote:
> >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 -id- and -name- identifers in the Select
> tag.
> > > These
> > > should match. Use one or the other. Both should be qlf_opt or
> both
> > > should
> > > be rq_qlf
> > >
> > > That way your script knows which one to use as the POST
> variable -
> > > else it
> > > might decide neither is appropriate :-)
> > >
> > > Cheers
> > > Neil.
> > >
> > > At 06:42 19/03/2003 +0000, you wrote:
> > > >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
> > > to
> > > >select as many as he likes n i HAVE to fetch them all from the
> db
> > > >
> > > >
> > > >guyz hlp plz
> > > >thnx a mill
> > > >
> > > >doomed .....
> > > >toby
> > > >
> > > >  --- Neil Smith <[EMAIL PROTECTED]> wrote: > Hi
> Toby -
> > > I
> > > >can't actually fllw yr frm cs t hs n vwls n t !
> > > > >
> > > > > However, I notice you are not closing the </option> tag.
> Maybe
> > > that
> > > > > would
> > > > > help ?
> > > > > AFAIK, HTML requires <option> tags to be close.
> > > > >
> > > > > HTH - My 2c
> > > > >
> > > > > Cheers,
> > > > > Neil Smith.
> > > > >
> > > > > At 09:51 18/03/2003 +0000, you wrote:
> > > > > >/*      echo("<select id=qlf_opt name=rq_qlf width='15'
> > > > > >style=\"font-family: $font\" multiple>
> > > > > >
> > > > > >         <optgroup label=select qualifications> ");
> > > > > >
> > > > > >
> > > > > >for ($count = 1; $qlfz_id =
> > > > > >mysql_fetch_row($rq_qlfz_ftch_qry_rzlt_hndlr);
> ++$count)//,
> > > > > $fmly_nme
> > > > > >= mysql_fetch_row ($fmly_nme_ftch_qry_rzlt_hndlr)
> > > > > >         {
> > > > > >                 $qlf_id = $qlfz_id[1];
> > > > > >                 $qlf_nme = $qlfz_id[0];
> > > > > >                 $sq = $qlfz_id[2];
> > > > > >
> > > > > >                 echo ("<option value=$qlf_id>$qlf_nme");
> > > > > >
> > > > > >                 //echo($skll_id.$sq);
> > > > > >
> > > > > >         }
> > > > > >
> > > > > >echo("</optgroup>
> > > > > >         </select>
> > > > >
> > > > >
> > > > > --
> > > > > PHP Windows Mailing List (http://www.php.net/)
> > > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > > >
> > > >
> > > >__________________________________________________
> > > >Do You Yahoo!?
> > > >Everything you'll ever need on one web page
> > > >from News and Sport to Email and Music Charts
> > > >http://uk.my.yahoo.com
> > >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Everything you'll ever need on one web page
> >from News and Sport to Email and Music Charts
> >http://uk.my.yahoo.com
>  

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

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

Reply via email to