c_shelswell Posted January 7, 2010 Share Posted January 7, 2010 Hi pretty simple question just don't know if it's possible and can't find much on it. I simply want to be able to do a Header("Location: ./page.php") but for it to show part way down page.php is this possible? Cheers Link to comment https://forums.phpfreaks.com/topic/187646-header-location-to-part-on-page/ Share on other sites More sharing options...
The14thGOD Posted January 7, 2010 Share Posted January 7, 2010 Header("Location: ./page.php#middle") Give an element (usually an anchor tag): name="middle" attribute You can replace middle with anything you want. Link to comment https://forums.phpfreaks.com/topic/187646-header-location-to-part-on-page/#findComment-990679 Share on other sites More sharing options...
c_shelswell Posted January 7, 2010 Author Share Posted January 7, 2010 nice one that's easy. Just the same as you would a link. Kind of feel stupid now didn't even think of that! Cheers Link to comment https://forums.phpfreaks.com/topic/187646-header-location-to-part-on-page/#findComment-990693 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.