Bitte helft mir. ich verstehe nicht warum die Ausgabe des Textes keinen Zeilenumbruch in der Tabelle macht
<?php
session_start();
if(!session_is_registered('user') || $_SESSION['user'] == "") {
header("location:index.php");
die;
}
include("connect.inc.php");
?>
<?php
$adminquery = @mysql_query("SELECT * from users order by id DESC") or print('Kann die bisherigen Benutzer nicht auswählen!');
$counter = 1;
while($line = @mysql_fetch_object($adminquery))
{
echo "<table width=\"500\">";
echo "<tr>";
echo "<td width=\"125\">";
$text = "$line->band";
$neuertext = wordwrap ( $text, 10 );
echo "$neuertext";
echo "</td>";
echo "<td width=\"125\">";
echo "$line->www";
echo "</td>";
echo "<td width=\"125\">";
echo "$line->stil";
echo "</td>";
echo "<td width=\"125\">";
echo "$line->land";
echo "</td>";
echo '</tr>';
$counter++;
}
?>
<?php
session_start();
if(!session_is_registered('user') || $_SESSION['user'] == "") {
header("location:index.php");
die;
}
include("connect.inc.php");
?>
<?php
$adminquery = @mysql_query("SELECT * from users order by id DESC") or print('Kann die bisherigen Benutzer nicht auswählen!');
$counter = 1;
while($line = @mysql_fetch_object($adminquery))
{
echo "<table width=\"500\">";
echo "<tr>";
echo "<td width=\"125\">";
$text = "$line->band";
$neuertext = wordwrap ( $text, 10 );
echo "$neuertext";
echo "</td>";
echo "<td width=\"125\">";
echo "$line->www";
echo "</td>";
echo "<td width=\"125\">";
echo "$line->stil";
echo "</td>";
echo "<td width=\"125\">";
echo "$line->land";
echo "</td>";
echo '</tr>';
$counter++;
}
?>
Kommentar