devilinc Posted December 7, 2010 Share Posted December 7, 2010 i have already echoed title and included that file in my php script, a header file.... but now i want to refresh my php script if the comment has been successfully added else remain in the same page....it remains in the same page now with just a msg that the comment is added....but i cant see the comment unless i refresh the page... i get he headers already sent error when i put a header() there as i have included another php file which already echoes title to screen....so what do i do now? i want the comment to be displayed to the user once he clicks on save and not make it tedious for him to refresh....any suggestions?any way around? Quote Link to comment Share on other sites More sharing options...
devilinc Posted December 7, 2010 Author Share Posted December 7, 2010 sorry guys got it resolved....shud have read that headers error postings on top...used ob_start() and header() successfully..... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.