manix Posted June 24, 2011 Share Posted June 24, 2011 Hey... I'm stuck with this issue now and I really need help. I have this one page which displays a bunch of comments and when the user submits a comment he's being sent to the other page which automatically redirects him to the first page, but if there're too many comments his comment is being displayed at the very bottom but after the redirection the focus is on the top of the page, so my question is how can I send a redirection from page number 2 to the bottom of page number 1 :? Link to comment https://forums.phpfreaks.com/topic/240296-redirection/ Share on other sites More sharing options...
AMcHarg Posted June 24, 2011 Share Posted June 24, 2011 I'm not sure if it would work with a redirection (I've never tried it), but you could try an anchor. Link to comment https://forums.phpfreaks.com/topic/240296-redirection/#findComment-1234247 Share on other sites More sharing options...
HDFilmMaker2112 Posted June 24, 2011 Share Posted June 24, 2011 Put an id tag for each comment, and get the id of the last added comment and append that to the URL with #. Don't use <a name> it's deprecated. Link to comment https://forums.phpfreaks.com/topic/240296-redirection/#findComment-1234248 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.