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......
Redirection Problem
Moderator: General Moderators
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact: