i ve no problem with arrays?
just cant  register them into sessions.


""Yasuo Ohgaki"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Although, you ask not to refer to PHP manual, there is a function you
probably
> would like to learn.
> (I guess you haven't read about array functions, right?)
>
> http://www.php.net/manual/en/function.array-merge.php
>
> This should be what you are looking for.
> (Don't over write, but merge arrays. I guess this is what you need)
> Take your time to read array functions, you might find other functions
that is
> useful.
>
> Regards,
> --
> Yasuo Ohgaki
>
> ----- Original Message -----
> From: ""karakedi"" <[EMAIL PROTECTED]>
> Newsgroups: php.general
> Sent: Saturday, March 17, 2001 10:07 AM
> Subject: [PHP] Sessions and CHECKBOXES :(
>
>
> > i ve 20 film names stored at database, and i want to show them in
> > alphebetical order. And i want to show 10 of them at each page. Nothing
is
> > wrong here. At the end of each film name there is a CHECKBOX, here is
the
> > code:
> >
> > $count = 0;
> > while ($row = mysql_fetch_array($result)){
> >
> > echo "<tr>";
> >
> > echo "<td valign=middle align=left>"   ; // getting film names here
> > echo $row['film'] ;
> > echo "</td>"  ;
> >
> >
> > $sepet = $row['tur'] ;       // putting checkboxes here
> > $sepet2 = $row['film'];
> > $sepetsonuc = $sepet. " " .$sepet2 ;
> > echo "<input type=checkbox name=\"siparis[]\" value=\"$sepetsonuc\">" ;
> >
> > echo "</td></tr>"  ;
> > $count++;
> > }
> >
> >
> > its good till here. everything is working... now since there are two
pages i
> > want to register checkbox variables  which are CHECKED with
> > "session_register "so that i can use them at the second page. without
that
> > my code simply cant remember the checked ones at the previous pages.
> >
> > Can someone help me to register these checkbox values into sessions ?
> > PLS dont refer me to php.net manual/sessions  :(
> >
> > i spent my last two days working on this so really need help :(  any
help is
> > HIGHLY APPRECIATED!!!
> > thx in adv.
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to