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 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 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 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); 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 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? Link to comment https://forums.phpfreaks.com/topic/242022-small-error/#findComment-1243023 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.