CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 HELP AGAIN

Print topic Send  topic

Author Message
sorin
Posted: 04/16/2002, 1:35 AM

Hello!

I'm trying something different in CodeCharge.I'd like to open different pages for different parameter values.

Let's say that I transmit the parameter "sid" which can have the value 1, 2 or 3 and I need to open page1.php, page2.php or page3.php according to "sid" value.

As you can see, I'm interested in a PHP solution.

Help is always greatly appreciated.
Alex Alexapolsky
Posted: 04/16/2002, 1:47 AM

The page that get this sid parameter could have the following code
in Page/Open event :

global $sid;

switch ($sid) {

case "1" : header("Location: page1.php");break;
case "2" : header("Location: page2.php");break;
case "3" : header("Location: page3.php");break;

}

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.