Hi, How can you get the result in the reload.php file it is not possible . If you are using the include you can get the object $connect and you easily access the result. But you just send the header in the report.php you are connecting to the mysql. So you try to send the $connect, If there is any option to pass the $connect in the mysqli_fetch_array($connect,$result) You can get. I try this with the pgsql not in mysql, With Regards, Rohini -- View this message in context: http://www.nabble.com/Transfer-query-result-to-another-script-tf4732225.html#a13545488 Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php