sungpeng Posted March 30, 2009 Share Posted March 30, 2009 $update=mysql_query("UPDATE listings set $hihi='' WHERE rid = '$rid'"); header('Location: http://www.example.com/housing/test2.php?rid=2'); Hi check I need the page to immediately go to the location after update but it always show me a error message Warning: Cannot modify header information - headers already sent by (output started at /home2/exmple/public_html/delete.php:6). Why is that so? Link to comment https://forums.phpfreaks.com/topic/151730-solved-header-error-message/ Share on other sites More sharing options...
Ayon Posted March 30, 2009 Share Posted March 30, 2009 Read this: http://www.phpfreaks.com/forums/index.php/topic,37442.0.html Link to comment https://forums.phpfreaks.com/topic/151730-solved-header-error-message/#findComment-796757 Share on other sites More sharing options...
sungpeng Posted March 30, 2009 Author Share Posted March 30, 2009 hi Ayon, can teach me how to code? I am new to php.. [html starting the page and layout] [php echoing the results] [form code if failed - exit(); if successful] Link to comment https://forums.phpfreaks.com/topic/151730-solved-header-error-message/#findComment-796759 Share on other sites More sharing options...
sungpeng Posted March 30, 2009 Author Share Posted March 30, 2009 ok I think I use meta. Thank Link to comment https://forums.phpfreaks.com/topic/151730-solved-header-error-message/#findComment-796765 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.