View Single Post
ישן 01-10-06, 10:16   # 1
Art Watch
מתאורר / יצא בחוץ
 
Art Watch's Avatar
 
מיני פרופיל
תאריך הצטרפות: May 2006
מיקום: חיפה
הודעות: 1,007
שלח הודעה באמצעות ICO אל Art Watch שלח הודעה באמצעות MSN אל Art Watch Send a message via Skype™ to Art Watch

Art Watch לא מחובר  

עזרה -PHP שגיאה מוזרה

אז ככה, התחלתי לבסס על מחלקות את אחת המערכות שלי ואני קולט פתאום שגיאה.
קוד:
Parse error:  syntax error, unexpected $end in /home/gil/domains/gil.vhost.co.il/public_html/news/skin/1/skin_index.php on line 33
אני מנסה לתקן ולא מואצ שום בעיה...
הנה הקובץ:
PHP קוד:
<?

class skin
{
    function 
offsystem($why) {
        global 
$lang;
        return <<<EOF

        <table width=75% class=border><th>
{$lang['systemoff']}</th>
        <tr><td>
{$why}</td></tr></table>

        EOF;
    }

    function viewcats($id,$name,$content) {
        global $lang;
        return <<<EOF

        <table width=100% class=border><th><a href=viewnews.php?id=
{$id}>{$name}</a></th>
        <tr><td height=75 valign=top>
{$content}</td></tr></table><br>

        EOF;
    }

    function num($num) {
        global $lang;
        return <<<EOF

        <table width=50%><th>
{$lang['thereare']} {$num} {$lang['categories']}</th></table>

        EOF;
    }
?>
לא חסר כלום ואין שטום בעיה עם הקוד... מה הולך פה?
  Reply With Quote