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? Quote Link to comment 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 Quote Link to comment 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] Quote Link to comment 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 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.