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. Link to comment https://forums.phpfreaks.com/topic/43521-returning-to-a-page/ 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']); ?> Link to comment https://forums.phpfreaks.com/topic/43521-returning-to-a-page/#findComment-211355 Share on other sites More sharing options...
tcorbeil Posted March 20, 2007 Author Share Posted March 20, 2007 Thanks alot! T. Link to comment https://forums.phpfreaks.com/topic/43521-returning-to-a-page/#findComment-211359 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.