יש לי את הקוד הבא-
PHP קוד:
if ($thePage['location'] != null && $thePage['location'] != "") {
header("Location: ".$thePage['location']."");
}
שאומר שאם יש ערך כלשהו בשדה לוקיישן אז זה אמור להפנות אותי לעמוד אחר.
וכשאני נכנס לדף זה מציג לי את השגיאה הבאה-
PHP קוד:
Warning: Cannot modify header information - headers already sent by (output started at c:wampwwwmy documentsfleishercpincludestemplate.php:102) in c:wampwwwmy documentsfleishercpincludestemplate.php on line 32