LiTe Posted October 12, 2006 Share Posted October 12, 2006 I made an affiliates page (one page) with PHP that current has view affiliates, admin (ADD / REMOVE) and right now I'm trying to add clicks/hits.I have it adding the clicks to SQL database but I can't get it to forward/redirect to the website.WEBSITE is stored in $GoTo and does work. $GoTo = $row['url']; echo "$GoTo";Tried: header('Location: $GoTo'); header("Location: $GoTo"); header('Location: http://asf.com');They don't work, please help! Link to comment https://forums.phpfreaks.com/topic/23731-header-not-working-help/ Share on other sites More sharing options...
JayBachatero Posted October 12, 2006 Share Posted October 12, 2006 Are you getting errors or it's just not working at all? [url=http://www.phpfreaks.com/forums/index.php/topic,37442.0.html]This[/url] might help if you are getting headers already sent errors. Link to comment https://forums.phpfreaks.com/topic/23731-header-not-working-help/#findComment-107771 Share on other sites More sharing options...
LiTe Posted October 12, 2006 Author Share Posted October 12, 2006 I'm getting no errors at all.. Link to comment https://forums.phpfreaks.com/topic/23731-header-not-working-help/#findComment-107772 Share on other sites More sharing options...
JayBachatero Posted October 12, 2006 Share Posted October 12, 2006 Can you post your script? Link to comment https://forums.phpfreaks.com/topic/23731-header-not-working-help/#findComment-107776 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.