Warning: Cannot modify header information - headers already sent by
Receiving error as such :
Warning: Cannot modify header information - headers already sent by (output started at /home/content/39/10368039/html/webgen/vaahan/change-user.php:25) in /home/content/39/10368039/html/webgen/vaahan/change-user.php on line 26
Its a log out page actually but must get redirected to another page so i used following code for it:
<?php
header('Location: http://www.webgen.in/vaahan/booking.php?QueryID='.$_POST['QID2'].'');
exit;
?>
Works fine on localhost server but not on my server.