ERLEDIGT
NEIN
NEIN
ANTWORTEN
2
2
ZUGRIFFE
173
173
EMPFEHLEN
-
Hallo,
Sorry wenn ich schon wieder stöhre aber was für nee Felhermeldung ist das denn? Hier kommt sie mal:
Parse error: parse error, unexpected '}' in /srv/www/htdocs/web123/html/german/community/intern/profils.php on line 485
Hier mal der CODE in der Zeile 485:
Hier mal der Code etwas weiter oben und dann etwas weiter unten:PHP-Code:}
PHP-Code:<td width="49%"><?php echo $_data['messenger']; ?>:</td>
<td width="51%"><?php
if($_data['messenger'] == "ICQ" AND $_data['messengerid'])
{
echo GetICQ($_data['messengerid']);
echo $_data['messengerid'];
}
elseif($_data['messenger'] == "Yahoo" AND $_data['messengerid'])
{
echo $_data['messengerid'] . " ";
echo GetYahoo($_data['messengerid']);
}
elseif($_data['messengerid'])
{
echo $_data['messengerid'];
}
else echo "Keine Angabe";
?></td>
</tr>
<tr bgcolor="#efefef">
<td><p class="Stil3">Nachrichtensystem</p></td>
<td><a href="mypost.php?show=write&empfaenger=<?php echo $_data['benutzername'],"&",SID; ?>" style="color:#000000">Nachricht schreiben</a></td>
</tr>
</table>
<br>
<br>
<table cellpadding="4" cellspacing="0" width="97%">
<tr>
<th bgcolor="#CCCCCC"><span class="Stil3">About me</span></th>
</tr>
<?php if(!empty($_data['selbstbeschreibung']) OR !empty($_data['hobbies']) OR
!empty($_data['ichmag']) OR !empty($_data['ichmagnicht']) OR
!empty($_data['motto']) OR!empty($_data['nachricht']))
{
if($_data['selbstbeschreibung'])
{
?>
<tr>
<td colspan="2" bgcolor="#efefef"><span class="Stil3">Selbstbeschreibung: </span></td>
</tr>
<tr>
<td colspan="2"><div class="text"><?php echo nl2br(htmlentities(stripslashes($_data['selbstbeschreibung']))); ?></div></td>
</tr>
<?php
}
if($_data['hobbies'])
{
?>
<tr>
<td colspan="2" bgcolor="#efefef"><span class="Stil3">Hobbies:</span></td>
</tr>
<tr>
<td colspan="2"><div class="text"><?php echo nl2br(htmlentities(stripslashes($_data['hobbies']))); ?></div></td>
</tr>
<?php
}
if($_data['ichmag'])
{
?>
<tr>
<td colspan="2" bgcolor="#efefef"><span class="Stil3">Likes:</span></td>
</tr>
<tr>
<td colspan="0"><div class="text"><?php echo nl2br(htmlentities(stripslashes($_data['ichmag']))); ?></div></td>
</tr>
<?php
}
if($_data['ichmagnicht'])
{
?>
<tr>
<td colspan="2" bgcolor="#efefef"><span class="Stil3">Dislikes:</span></td>
</tr>
<tr>
<td colspan="2"><div class="text"><?php echo nl2br(htmlentities(stripslashes($_data['ichmagnicht']))); ?></div></td>
</tr>
<?php
}
if($_data['motto'])
{
?>
<tr>
<td colspan="2" bgcolor="#efefef"><span class="Stil3">Mein Motto:</span></td>
</tr>
<tr>
<td colspan="2"><div class="text"><?php echo nl2br(htmlentities(stripslashes($_data['motto']))); ?></div></td>
</tr>
<?php
}
if($_data['nachricht'])
{
?>
<tr>
<td colspan="2" bgcolor="#efefef"><span class="Stil3">Meine Nachricht an euch:</span></td>
</tr>
<tr>
<td colspan="2"><div class="text"><?php echo nl2br(htmlentities(stripslashes($_data['nachricht']))); ?></div></td>
</tr>
<?php
}
}
else
{
?>
<tr>
<td colspan="2"><?php echo $_data['benutzername']; ?> hat leider keine Daten über sich eingegeben.</td>
</tr>
<?php
}
?>
</table>
<?php
}
elseif(isset($_GET['user']) AND !$_data)
{
?>
<table width="90%" border="0">
<tr>
<td height="45" valign="top">Es wurde leider kein Benutzer mit dem Namen "<?php echo htmlentities($_GET['user']); ?>" gefunden. Hast du dich vielleicht nur verschrieben? Hier kannst du es nochmal probieren:</td>
</tr>
</table>
<form action="<?php echo $_SERVER['PHP_SELF'],"?",SID; ?>" method="post">
<input type="text" name="user" size="25">
<input name="submit" type="submit" value="Anzeigen">
</form>
<?php
}
else
{
?>
<table width="90%" border="0">
<tr>
<td height="45" valign="top">Bitte gib hier den Benutzernamen des Community Mitgliedes an, dessen Profil du sehen willst:</td>
</tr>
</table>
<form action="<?php echo $_SERVER['PHP_SELF'],"?",SID; ?>" method="post">
<input type="text" name="user2" size="25">
<input name="submit" type="submit" value="Anzeigen">
</form>
<?php
}
?></td>
-
28.11.04 00:30 #2
- Registriert seit
- Jan 2004
- Beiträge
- 1.072
Das heißt, dass an dieser Stelle keine schließende Klammer stehen darf. Wahrscheinlich, weil sie vorher nicht geöffnet wurde. Vor der Stelle
wird eine Klammer geschlossen, die nicht geöffnet wurde.PHP-Code:elseif(isset($_GET['user']) AND !$_data)
-
28.11.04 00:43 #3Sicaine Tutorials.de Gastzugang
1. Selbst biste wohl noch ned gekommen deinen Code mal genauer anzusehen? Richtig mein ich?
Ansonsten:
Code :1 2
<td width="51%"><?php if($_da
http://tut.php-q.net/einruecken.html <<< lies dir das bitte mal genau durch.
Ähnliche Themen
-
Was denn nun ?
Von xxlrock im Forum CGI, Perl, Python, Ruby, Power ShellAntworten: 3Letzter Beitrag: 05.10.07, 16:21 -
Was ist das denn?
Von Geflügel im Forum Javascript & AjaxAntworten: 3Letzter Beitrag: 27.08.07, 22:26 -
Wie arm ist das denn?
Von funkorider im Forum Fun-ForumAntworten: 3Letzter Beitrag: 11.05.05, 12:00 -
Was ist das denn?
Von microbion im Forum 3D Studio MaxAntworten: 3Letzter Beitrag: 10.01.02, 17:48





Zitieren
Login






[PHP][Snippet] Array zu XML konvertieren