Here's what I do:
Page1.php submits info to page2.php.
In page2.php:
<?php
//process form krud here
header("Location: page1.php");
exit;
?>
Viola.
-Dash
-----Original Message-----
From: freeman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 12:56 AM
To: PHP Windows Help List
Subject: Re: [PHP-WIN] mystery line
Can anyone tell me how to make a script return to the prviose page. like say
im doing a insert then i want it to auto return to the previose page?
----- Original Message -----
From: jpirtle <[EMAIL PROTECTED]>
To: PHP Windows Help List <[EMAIL PROTECTED]>
Sent: Wednesday, December 04, 2002 11:36 PM
Subject: [PHP-WIN] mystery line
> Please help:
>
> I'm working through PHP Fast & Easy Web Development tutorial book by
> Julie C. Meloni. It's pretty good. But I've fat-fingered in a script
> (Alllinone_form.php) and I get the following error.
>
> Parse error: parse error in c:\program files\apache
> group\apache\htdocs\testing\allinone_form.php on line 70
>
> The script has exactly 69 lines. There is not a line 70. If I add a
> junk line and try again the error reports on line 71 when there are
> only 70 lines. If I shorten the script by two or three lines the same
> error
occurs,
> just at the last line plus one.
>
> Platform = Win 98 SE, Server = Apache 1.3x, PHP = 4.2x, Browser =
> Mozilla, MSIE 5.5, Netscape, and Opera. I'm using CONTEXT as the
> editor (Great
> Tool!) with the line numbering turned on, so I'm sure about the line
count.
>
> Anybody every see anything like this?
>
> God bless us everyone.
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php