Redirection Problem
Posted: Thu Jan 27, 2005 7:14 am
Hi ,
I have a problem in redirecting the page
I have to redirect the page once the details are submited to the database the problem is that i am connecting to mysql database through adodb.the files supporting are included in the top of page using "include" so when i try to redirect using header gives error
include_once($GLOBALS['DOCUMENT_ROOT']."/villasoft/".'adodb/adodb.inc.php'); //Check for path before uploading
include_once($GLOBALS['DOCUMENT_ROOT']."/villasoft/".'conf/config.php');
if(isset($_POST['add']))
{
Insert the data
header();
}
so is their any way to redirect the page......
I have a problem in redirecting the page
I have to redirect the page once the details are submited to the database the problem is that i am connecting to mysql database through adodb.the files supporting are included in the top of page using "include" so when i try to redirect using header gives error
include_once($GLOBALS['DOCUMENT_ROOT']."/villasoft/".'adodb/adodb.inc.php'); //Check for path before uploading
include_once($GLOBALS['DOCUMENT_ROOT']."/villasoft/".'conf/config.php');
if(isset($_POST['add']))
{
Insert the data
header();
}
so is their any way to redirect the page......