Also mein Code schaut so aus:
aber ich bekomme diese Fehlermeldung!
Code:
14: $select = "SELECT COUNT(*) FROM news"; 15: $result = mysql_query($select, $db); 16: $row = mysql_fetch_row($result); 17: if($row[0] > 5) { 18: $index = "1"; 19: $last_pos = $row[0] - 5; 20: if($last_pos <= 0) { 21: $back = "0"; 22: } else { 23: $back = "1"; 24: } 25: $next_pos = $pos + 5; 26: if($next_pos > row[0]) { 27: $next = "0"; 28: } else { 29: $next = "1"; 30: } 31: } else { 32: $zeile = "0"; 33: $back = "0"; 34: $next = "0"; 35: }
Code:
Parse error: parse error in c:\apache\htdocs\hp2\news.php on line 26
Kommentar