pranshu82202 Posted July 14, 2011 Share Posted July 14, 2011 I am using this header... But its showing an error... <?php // Some code header ('location : abc.php?id=echo'.$id.''); // Some code ?> Can you tell me what shuld i write instead... Thanks Quote Link to comment https://forums.phpfreaks.com/topic/242022-small-error/ Share on other sites More sharing options...
Maq Posted July 14, 2011 Share Posted July 14, 2011 I'll assume your error has something to do with this, since you didn't post it: http://www.phpfreaks.com/forums/index.php?topic=37442.0 Quote Link to comment https://forums.phpfreaks.com/topic/242022-small-error/#findComment-1242885 Share on other sites More sharing options...
pranshu82202 Posted July 14, 2011 Author Share Posted July 14, 2011 their is mistake in the echo part... I am not getting how to write that... Can you help me with the echo... Rest is right Quote Link to comment https://forums.phpfreaks.com/topic/242022-small-error/#findComment-1242887 Share on other sites More sharing options...
djlee Posted July 14, 2011 Share Posted July 14, 2011 since my magic ball has rolled under the desk and im too lazy too pick it up. i'd have a wild stab in the dark and suggest header ('Location: abc.php?id='.$id); Quote Link to comment https://forums.phpfreaks.com/topic/242022-small-error/#findComment-1242892 Share on other sites More sharing options...
pranshu82202 Posted July 15, 2011 Author Share Posted July 15, 2011 When i use this ... its giving an error... Warning: Cannot modify header information - headers already sent by (output started at /..../...../.......///...) in /...../...../...../abc.php on line 104 Quote Link to comment https://forums.phpfreaks.com/topic/242022-small-error/#findComment-1243021 Share on other sites More sharing options...
TeNDoLLA Posted July 15, 2011 Share Posted July 15, 2011 Maybe check out what Maq posted earlier? Quote Link to comment https://forums.phpfreaks.com/topic/242022-small-error/#findComment-1243023 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.