Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [PHP]Błąd składni, w określonym kodzie
Forum PHP.pl > Forum > Przedszkole
Diego22
Witam mam taki błąd :

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/rfleague/public_html/themes/Liga2011/theme.php on line 188


Kod
   echo"<div class='statystyki'>
    <div class='statystyki1'></div>

    <div class='statystyki2'>
   $resulte = dbquery('
    SELECT tf.forum_id, tt.thread_id, tt.thread_subject, COUNT(tp.post_id) as count_posts
    FROM ".$db_prefix."forums tf
    INNER JOIN ".$db_prefix."threads tt USING(forum_id)
    INNER JOIN ".$db_prefix."posts tp USING(thread_id)
    WHERE forum_access<='".iUSER."'
    GROUP BY thread_id
    ORDER BY thread_lastpost DESC
    LIMIT 5
');
if (dbrows($resulte) != 0) {
    echo "<table width='100%' cellpadding='0' cellspacing='0'>";
    while($datae = dbarray($resulte)) {
        $itemsubjectt = trimlink($datae['thread_subject'], 20);
        echo "<tr>\n<td align='left'> - <a href='".FORUM."viewthread.php?forum_id=".$datae['forum_id']."&thread_id=".$datae['thread_id']."' class='side'>$itemsubjectt</a></td>
<td align='right' >[".($datae['count_posts']-1)."]</td>\n</tr>";
    } }




</div>\n";


Linia 188 to ta: echo "<table width='100%' cellpadding='0' cellspacing='0'>";
Spawnm
Już raz pisałem, forum nie parser!
Masz w komunikacie błędu wyraźnie napisane co jest źle!
http://forum.php.pl/index.php?showtopic=205355&hl=
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.