Einzelnen Beitrag anzeigen
  #3  
Alt 16.05.2003, 16:22:26
Shape24 Shape24 ist offline
Anfänger
 
Registriert seit: May 2003
Beiträge: 9
Hmm,
danke Dir, habe das mal glecih ausprobiert. SIeht jetzt so aus:
PHP-Code:
$db_handle=connect_db($DATABASEHOST,$DATABASEUSER,$DATABASEPASSWD);
if(
$db_handle<1){
exit;
}
$zahl=0;
echo 
"<table border='1'>";
echo 
"<tr>";
$sql "select Nick from chat_userpages";
$erg mysql_query ($sql);
while (
$rowmysql_fetch_row($erg)){
 echo 
"<td BGCOLOR='#000000' width='100'>$row[0]</td>";
echo 
"</tr>";
echo 
"<tr>";
$sql "select Picture from chat_userpages";
$erg mysql_query ($sql);
while (
$rowmysql_fetch_row($erg)){
 echo 
"<td BGColor=#000000 width='100'><img src='$row[1]' border='0'></td>";
echo 
"</table>";

$zahl+=1;
if (
$zahl==5){
echo 
"</table>";
break;}

mysql_close($db_handle);
?> 
Kriege dann aber diese Fehlermeldung:
Parse error: parse error, unexpected $end in C:Inetpubwwwroottestwebchathtmlnewtest.php on line 36
Mit Zitat antworten