Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,862,269 members, 6,866,926 topics. Date: Tuesday, 17 May 2022 at 12:24 PM

Php Header() Function Error - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Php Header() Function Error (951 Views)

Function Points (FP) Vs Lines Of Code (LOC) / Php Header() Function Error / Without Using Pow Function In C (2) (3) (4)

(1) (Reply)

Php Header() Function Error by onydchic(f): 12:27pm On Jul 14, 2006
Hey i need help with this, anyone good with php should let me know:
I'm trying to use the header() function to pull a certain variable from the previous page to use in the next one. here's the code
if (!$_GET[topic_id] ){ header(location: prevpage.php);
exit;
}
instead i'm gettin 'cannot modify headers, header already sent' error. i've used it b4, so i'm stomped. any ideas?

(1) (Reply)

My Siwes Project / Your Candid Opinion Is Needed / Where Are The Desktop GUI Developers In Nigeria?

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2022 Oluwaseun Osewa. All rights reserved. See How To Advertise. 166
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.