[Gllug] RE : anyone into PHP?

Russell Mackenzie russmack at btinternet.com
Wed Nov 7 13:14:44 UTC 2001


<snip>
I have a page with a
form that posts data to add.php3. This file then writes data to the MySQL DB
and then jumps to another page. add.php3 has no visual aspect.
</snip>

Why can you not put the add.php3 code at the top of the next page, so you
process then display in one file?

Russ

----- Original Message -----
From: "Allen Wayne" <Wayne.Allen at rhul.ac.uk>
To: <gllug at linux.co.uk>
Sent: Tuesday, November 06, 2001 3:46 PM
Subject: [Gllug] RE : anyone into PHP?


>
>
> -----Original Message-----
> From: Chris Ball [mailto:chris at void.printf.net]
> Sent: 06 November 2001 14:55
> To: gllug at linux.co.uk
> Subject: Re: [Gllug] anyone into PHP?
>
>
> On Tue, 2001-11-06 at 13:13, Allen Wayne wrote:
> > silly PHP question..... how do I force a jump to another page in PHP?
>
> The answer in terms of before output has already been given; I'm
> assuming you're trying to do this during a code block in the middle of a
> page, though.  I'm open to correction (and am usually corrected ;-) but
> I can't see this being possible outside of a meta-refresh or header -
> it's just not How HTTP Works.  I'm thinking that you're going to need to
> find another way to accomplish what you're trying to do.
>
> You are right in asertaining what I am trying to do. I have a page with a
> form that posts data to add.php3. This file then writes data to the MySQL
DB
> and then jumps to another page. add.php3 has no visual aspect.
>
> Wayne
>
> --
> Gllug mailing list  -  Gllug at linux.co.uk
> http://list.ftech.net/mailman/listinfo/gllug


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list