View Single Post
ישן 29-05-06, 12:08   # 1
-VladK-
הוסטסניון
 
-VladK-'s Avatar
 
מיני פרופיל
תאריך הצטרפות: Apr 2006
גיל: 34
הודעות: 2,182

-VladK- לא מחובר  

בעיה מוזרה בקוד...

שלום.
יש לי בעיה...עשיתי עמוד קטן .... סתם להציג נתונים (בינתיים)
הנה הקוד שלו:
PHP קוד:
<?php
define 
("PHP_FILE"true);
require 
'header.php';
if(isset(
$_GET['act'])) {
    if((
$_GET['act'] != "idx") and ($_GET['act']!= "register") and ($_GET['act']!= "login") and ($_GET['act']!= "forums") and ($_GET['act']!= "manage") and ($_GET['act']!= "funny") and ($_GET['act']!= "mondial") and ($_GET['act']!= "pics")) {
        
header('location:index.php?act=idx');
        exit;
    } elseif(
$_GET['act'] != "register") {
        echo <<<HTML
        Text Text Text
        HTML;
    }else {
    echo "העמוד גרגע בשלבי בניה!";
    }
} else {
    echo $glContent;
}
require 'footer.php';
?>
עכשיו הבעיה היא שהוא מדפיס לי את זה:
Parse error: syntax error, unexpected $end in --- on line 19
ושורה 19 זה ?> ...כלומר סוף הדף...מה לדעתכם הבעיה?
  Reply With Quote