--- "Ford, Mike" <M.Ford@xxxxxxxxxxxxxx> wrote: > Page 3: > > if (count($myarray) > 5): > $_SESSION['arrayerr'] = "you have selected too > many industries"; > session_write_close(); > header ("Location: Page2.php?".SID); > exit; > endif; > > Hope this helps. Mike, once again you've come through. This worked! But , let me ask, can it have anything to do with the endif ? I asked becasue I tried the session_write_close and the SID before with no success. Now that it's working , the only thing different is the endif; . Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php