Don't know if I fully understand your question, but, in general, you can
handle redirects with the header() function, e.g., 

header("Location:
http://www.yoursite.com/yourscript.php?msg=0&storyID=".$newstory."";);

As you can see, you can include variable=value pairs at the end of the URL
as well (msg and storyID in the example above).

Check for the header() function in the documentation on php.net for
additional information. PHP-GENERAL, as suggested by another user, is the
most appropriate and possibly more helpful mailing list for your particular
question.

HTH,
Rich

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 02, 2003 6:19 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-DB] Redirect.
> Importance: High
> 
> 
> Hi all,
> I have a problem.How can I redirect from a PHP script to 
> another script in asp, php or a HTML page? 
> This script redirect to another script in function of the 
> values of a variable.
> Thanks in advance
> Francesco
> [EMAIL PROTECTED]
> 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to