Page 1 of 1

Redirection Problem

Posted: Thu Jan 27, 2005 7:14 am
by kkawalli
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......

Posted: Thu Jan 27, 2005 7:27 am
by John Cartwright
What errors?