Hi Stuart,

I haven't followed your thread too closely, but I did see something that might 
be the cause of your problems:

[snip]

> Let me show you how I set it all up. Remember it's  a
> multi page form:
> So the form elements are: skills[], skys[], slus[]
> Then on the next page I have to still pass the session
> variables, and so:
>
> $_SESSION['skills'] = $_POST['skill'];
> $_SESSION['skys'] = $_POST['sky'];
> $_SESSION['slus'] = $_POST['slu'];
>
> Now the transcation script:
>
> $skills = $_SESSION['skills'];
> $skys = $_SESSION['skys'];
> $slus = $_SESSION['slus'];
>
> foreach($_SESSION['skills'] as $key => $skill)
                ^^                          ^^  

[snip]

It's my understanding that where I've put  ^^  should be enclosed by braces, 
otherwise you'll get some starnge behaviour. 

I'm puzzled why you reverted to $_SESSION['skills'] when the line above you've 
set $skills = $_SESSION['skills']??

HTH,
Andre

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

Reply via email to