Re: Auto load PHP

From: Date: Tue, 03 Apr 2001 07:57:26 +0000
Subject: Re: Auto load PHP
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-8170@lists.php.net to get a copy of this message
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 use header() that much. > > -- David Balatero > > -----Original Message----- > From: Jim Ray [mailto:jaray@relaypoint.net] > Sent: Monday, April 02, 2001 6:23 PM > To: php-db@lists.php.net > Subject: [PHP-DB] Auto load PHP > > Is there a way, once updating a table to load another PHP? After, I have the > user click on the save button, the code calls a update routine. After the > UPDATE is done, I want the code to call another progam. > > Thank you. > > Jim Yep... the header-function should work. There's only one nasty restriction... You can only use the header-function BEFORE ANY OTHER OUTPUT HAS BEEN GENERATED. -- * R&zE: *************************** ** Renze Munnik ** ** E: renze@datalink.nl ** M: +31 6 218 111 43 ***************************

« previous php.db (#8170) next »