tcorbeil Posted March 20, 2007 Share Posted March 20, 2007 Hi again everyone. I appreciate all of your help.. I feel i have come a long way and couldn't do it with you. Anyway, i have another question: From my main site, I call a php file to dump my data into mySQL.. The problem is, the page does it's thing but stays white as it completes it's task.. what command would I use to redirect to the page i came from? Also, as this php file will be call by many different pages, can i use a variable such as : redirect to variable ... variable being the exact address of where I want to go.. Can this be done? Thanks again. T. Quote Link to comment Share on other sites More sharing options...
Baving Posted March 20, 2007 Share Posted March 20, 2007 You could do a refresh back to the reffering page: - <? @header("Location: ".$_SERVER['HTTP_REFERER']); ?> Quote Link to comment Share on other sites More sharing options...
tcorbeil Posted March 20, 2007 Author Share Posted March 20, 2007 Thanks alot! T. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.