Re: [PHP-DB] Auto load PHP

2001-04-03 Thread Renze Munnik
On Tue, Apr 03, 2001 at 09:05:57AM +0100, Galvin, Max wrote: Why not a simple if statement to check if the function worked and then include("script2.php") ? M Well... I've got three reasons for that... 1. I never use include() for redirection. It was never meant to be used for that

Re: [PHP-DB] Auto load PHP

2001-04-03 Thread Renze Munnik
On Tue, Apr 03, 2001 at 09:48:07AM +0100, Galvin, Max wrote: Jim Ray didn't say he wanted it redirected though, he said he wanted it "called". Redirecting was brought in by someone who replied to the post. I would also use header() but if the poster is looking for a quick "plug in" solution

RE: [PHP-DB] Auto load PHP

2001-04-03 Thread Michael Rudel
to:[EMAIL PROTECTED]] Sent: Tuesday, April 03, 2001 9:57 AM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Auto load PHP David Balatero wrote: Maybe after the UPDATE statement, you could do: ?php header("Location: /path/to/other/script.php"); ? ...but I don't know, I don't u

RE: [PHP-DB] Auto load PHP

2001-04-02 Thread David Balatero
Maybe after the UPDATE statement, you could do: ?php header("Location: /path/to/other/script.php"); ? ...but I don't know, I don't use header() that much. -- David Balatero -Original Message- From: Jim Ray [mailto:[EMAIL PROTECTED]] Sent: Monday, April 02, 2001 6:23 PM To: [EMAIL