Hello guys,
am trying to make a simple
shout~box with PHP ,
but i have stuck somehow ..

)
am trying to make the
echo to be written into a
<textarea></textarea> tag , but is impossible cause when finally outputs on screen is printed there more than
1 diferent <textarea>..
Look the here :
PHP Code:
mysql_connect($lololo,$lala,$lalala) or die(mysql_error());
mysql_select_db($ololol) or die(mysql_error());
$query = "SELECT msg1, theauthor, thetime, thedate, thehost
FROM shoutbox order by id DESC LIMIT 8";
$result = mysql_query($query);
echo "<table>";
while ($r=mysql_fetch_array($result))
{
echo "<textarea><tr><td><font size='2'>
By $r[date] by <a href='mailto:$r[thetime]'>
$r[theauthor]</a></font></td></tr>
<tr><td><font size='2'>$r[msg1]</font></td></tr>
<tr><td><hr></td></tr></textarea>";
}
echo "</table>";
?>
the result of this, will be more than 1 textarea boxes on my page.. how to correct this, so that every of thy echos that will ever be will be written
into one textarea box ?
Thanks in advances fellas n' dudes
waiting for your
help on it
