Robby
Here is the printout :
Using-
print_r ($skills);
print_r ($skys);
print_r ($slus);
Array ( [0] => skillone [1] => skilltwo [2] =>
skillthree [3] => [4] => ) Array ( [0] => 2 [1] => 3
[2] => 4 [3] => [4] => ) Array ( [0] => [1] => [2] =>
[3] => [4] => ) 1
FYI - The skills is a string, skys and slus ints.
Also I had only filled in 3 of the 5 for each.
Thank you
Stuart
--- Robby Russell <[EMAIL PROTECTED]> wrote:
> On Sun, 2004-10-17 at 09:53 -0700, Stuart Felenstein
> wrote:
> > I have 3 arrays. 3 for 3 fields in a table (all
> part
> > of 1 record)
> > array1 - field1
> > array2 - field2
> > array3 - field3
> >
> > What I've been doing which works good with one
> array:
> > if ( is_array( $_SESSION['foo'] ) ) {
> > foreach ( $_SESSION['foo'] as $x ) {
> > sql .= "INSERT INTO TABLE (...............
> > VALUES ($x)
> >
> > Just can't seem to figure out how with three
> arrays.
> >
> > help appreciated.
> >
> > Stuart
> >
>
> Can you provide a print_r() output of your
> $_SESSION['foo'] ?
>
> I can help you more after that.
>
> -Robby
>
> --
> /***************************************
> * Robby Russell | Owner.Developer.Geek
> * PLANET ARGON | www.planetargon.com
> * Portland, OR | [EMAIL PROTECTED]
> * 503.351.4730 | blog.planetargon.com
> * PHP/PostgreSQL Hosting & Development
> ****************************************/
>
>
> ATTACHMENT part 2 application/pgp-signature
name=signature.asc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php