nymphetamine
New member
ich krieg irgendwie dauernd n parse error in zeile 56 und ich hab keine ahnung woher der kommt...
{ und } fehlen keine.. ; ist auch am ende jedes echos usw..., und wonach ich sonst noch suchen könnte weiss ich ehrlich gesagt grad echt nich ._.
zeile 56:
das drumrum (zeile 46-80):
also ich hab ma bissl die zeile aufgeteilt...
irgendwas an dem teil klemmt.. aber ich seh nich wirklich ein, was....
{ und } fehlen keine.. ; ist auch am ende jedes echos usw..., und wonach ich sonst noch suchen könnte weiss ich ehrlich gesagt grad echt nich ._.
zeile 56:
PHP:
echo "<b>..:·</b> " .$nr ." <b>»</b> " .&parts[0] ." <b>»</b> " .&parts[4] ."</td>";
das drumrum (zeile 46-80):
PHP:
<?php
if ($entry_count == 0) {
echo "<table id=\"gb\" width=\"90%\" align=\"center\" border=\"0\" cellspacing=\"0\" cellpadding=\"5\"><tr><td width=\"100%\" align=\"center\"><b>..:·</b> no entries found in database <b>»</b></td></tr></table>";
if ($aicon == "ja") { echo "<table id=\"gb\" width=\"90%\" align=\"center\" border=\"0\" cellspacing=\"0\" cellpadding=\"5\"><tr><td width=\"100%\" align=\"center\"><b>..:·</b> <a href=\"Admin/login.php\">administration area</a> <b>»</b></td></tr></table>"; }
die();
}
for ($i = $index; $i < $last; $i++) {
$parts = explode("#", $datei[$i]);
$nr = $entry_count -$i;
echo "<table id=\"gb\" width=\"90%\" align=\"center\" valign=\"middle\" border=\"0\" cellspacing=\"0\" cellpadding=\"5\"><tr><td width=\"50%\" align=\"center\">";
echo "<b>..:·</b> " .$nr ." <b>»</b> " .&parts[0] ." <b>»</b> " .&parts[4] ."</td>";
echo "<td width=\"50%\" align=\"center=\">";
if ($parts[1] != "")
echo "<a href=\"mailto:" .$parts[1] ."\"><img src=\"images/email.gif\" border=\"0\"></a> <b>»</b> ";
if ($parts[1] != "")
echo "";
if ($parts[2] != "" && $parts[2] != "http://")
echo "<a href=\"" .$parts[2] ."\" target=\"_blank\"><img src=\"images/home.gif\" border=\"0\"></a> <b>»</b> ";
if ($parts[7] != "") {
echo "<a href=\"http://www.icq.com/whitepages/cmd.php?uin=$parts[7]&action=message\" target=\"_blank\"><img src=\"images/icq.gif\" border=\"0\"></a>"; }
else {
echo ""; }
echo "</td></tr>";
echo "<tr><td width=\"100%\" align=\"left\" valign=\"top\" colspan=\"2\">";
echo "" .$parts[3] ."";
echo "</td></tr></table>"; }
echo "<br><br><table id=\"gb\" width=\"90%\" align=\"center\" valign=\"middle\" border=\"0\" cellspacing=\"0\" cellpadding=\"5\"><tr><td width=\"100%\" align=\"center\">";
display_navigation($index, $entriespage, $entry_count);
echo "</td></tr>";
if ($aicon == "yes") {
echo "<tr><td width=\"100%\" align=\"center\"><b>..:·</b> <a href=\"Admin/login.php\" target=\"_blank\">administration area</a> <b>»</b></td></tr>"; }
else {
echo ""; }
echo "</table>";
?>
also ich hab ma bissl die zeile aufgeteilt...
PHP:
echo "" .&parts[0] ."";
Zuletzt bearbeitet: