John,
Sorry, I'm not trying to be unclear.
There are 3 columns in the table.
In the user form. there are 30 fields, 10 text and 20
dropdown.
The 10 text are:
$_SESSION['skills'] = $_POST['skill'];
The first dropdown is :
$_SESSION['skys'] = $_POST['sky'];
The second dropdown is:
$_SESSION['slus'] = $_POST['slu'];
So I need to grab the input and
enter into database
where each set of skill, sky , slu is a new record.
I hope this is clearer.
Stuart
--- John Holmes <[EMAIL PROTECTED]> wrote:
> Stuart Felenstein wrote:
>
> > 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.
>
> Since we're just guessing at what you want, I'll
> guess something like this:
>
> foreach($skills as $key => $skill)
> {
> echo "$skill - {$skys[$key]} - {$slus[$key]}\n";
> }
>
> --
>
> ---John Holmes...
>
> Amazon Wishlist:
> www.amazon.com/o/registry/3BEXC84AB3A5E/
>
> php|architect: The Magazine for PHP Professionals �
> www.phparch.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php