marco839 Posted September 17, 2007 Share Posted September 17, 2007 I'm having a mind-freeze moment. How do I refer people to a page when they click a link? (Let me explain better...) When someone clicks LINK the browser opens a new window with the website logo and "You are being redirected.." and then forwards the visitor to the website (obviously this needs to be dynamic as the final destination url would change all the time and is pulled from a database). Any ideas? Thanks!! Link to comment https://forums.phpfreaks.com/topic/69638-solved-redirection-with-url/ Share on other sites More sharing options...
ViN86 Posted September 17, 2007 Share Posted September 17, 2007 id probably do it with javascript and PHP... get the URL from the database store the URL into a variable, let's call it $url_redirect then pass echo '<script>window.location="'.$url_redirect.'"</script'; i think that's what you were askin for... Link to comment https://forums.phpfreaks.com/topic/69638-solved-redirection-with-url/#findComment-349929 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.