Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001041

Re: [PHP-DB] Auto load PHP From: Renze Munnik (renze <email protected>)
Date: 04/03/01

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 <email protected>]
> Sent: Monday, April 02, 2001 6:23 PM
> To: php-db <email protected>
> 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 <email protected> ** M: +31 6 218 111 43 ***************************

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>