--- Jason Wong <[EMAIL PROTECTED]> wrote:
> Maybe what you had before was:
>
> if (count($myarray) > 5)
>$_SESSION['arrayerr'] = "you have selected
> too many industries";
>session_write_close();
>header ("Location: Page2.php?".SID);
>exit;
>
> And yes that h
To view the terms under which this email is distributed, please go to
http://disclaimer.leedsmet.ac.uk/email.htm
On 04 November 2004 12:08, Stuart Felenstein wrote:
> --- "Ford, Mike" <[EMAIL PROTECTED]> wrote:
> > Page 3:
> >
> >if (count($myarray) > 5):
> > $_SESSION['arrayerr'] =
On Thursday 04 November 2004 12:08, Stuart Felenstein wrote:
> --- "Ford, Mike" <[EMAIL PROTECTED]> wrote:
> > Page 3:
> >
> >if (count($myarray) > 5):
> > $_SESSION['arrayerr'] = "you have selected too
> > many industries";
> > session_write_close();
> > header ("Location: Pa
--- "Ford, Mike" <[EMAIL PROTECTED]> 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
To view the terms under which this email is distributed, please go to
http://disclaimer.leedsmet.ac.uk/email.htm
On 04 November 2004 11:37, Stuart Felenstein wrote:
> --- "Ford, Mike" <[EMAIL PROTECTED]> wrote:
>
> > > Page3:
> > >
> > > if (count($LurkerIndustry) > 5) {
> > > $_SESSION['arr
--- "Ford, Mike" <[EMAIL PROTECTED]> wrote:
> > Page3:
> >
> > if (count($LurkerIndustry) > 5) {
> > $_SESSION['arrayerr'] = "you have selected too
> many industries";
> > $_SESSION['f1a'] = $_POST['ListingName'];
> > header ("Location: TestMulti2.php");
> > exit;
> > }
>
> Well, that's even wo
To view the terms under which this email is distributed, please go to
http://disclaimer.leedsmet.ac.uk/email.htm
On 04 November 2004 10:56, Stuart Felenstein wrote:
> --- Reinhart Viane <[EMAIL PROTECTED]> wrote:
>
> > Suppose Richard means:
> >
> > If (isset($_POST['ListingName'])) {
> > $_
--- Reinhart Viane <[EMAIL PROTECTED]> wrote:
> So, if I understand correct, even with the isset
> code on the second page
> $_SESSION['f1a'] is set to empty?
> That's strange.
> Still I wonder why you are inputting the error
> messages and the redirect
> in a session variable.
>
Yes, the isset
To view the terms under which this email is distributed, please go to
http://disclaimer.leedsmet.ac.uk/email.htm
On 04 November 2004 10:20, Stuart Felenstein wrote:
> --- Richard Davey <[EMAIL PROTECTED]> wrote:
>
> > Before setting the session value in Page 2, check
> > for the existence of
--- Reinhart Viane <[EMAIL PROTECTED]> wrote:
> Suppose Richard means:
>
> If (isset($_POST['ListingName'])) {
> $_SESSION['f1a'] = $_POST['ListingName'];
> }
Right, I've tried all three variations , none of
which, I'm sorry to report, have helped.
The variable is alive with any of the code i
--- Richard Davey <[EMAIL PROTECTED]> wrote:
> Before setting the session value in Page 2, check
> for the existence of
> the $_POST value first.
>
> if (isset($_POST['var']))
> {
>$_SESSION['var'] = $_POST['var'];
> }
>
> When you now redirect to Page 2 upon an error, it'll
> skip this blo
11 matches
Mail list logo