$query="select * from news order by id DESC";
$result=mysql_query($query)
or die(mysql_error());
while ($row=mysql_fetch_object($result)) {
str_replace("Thetext","Hello",$row->content);
echo "<table width='463' height='30' border='0' cellpadding='2' cellspacing='1'>
<tr bgcolor='#FFFFFF'>
<td height='28' valign='top'> <p><font size='1' face='Verdana, Arial, Helvetica, sans-serif'><strong>$row->date $row->title - <strong>$row->posted</strong> - <br>
</strong>$row->content</font></p></td></tr><tr><td><font size='1' face='Verdana, Arial, Helvetica, sans-serif'><a href='index.php?action=comments&arid=$row->id'>Comments</a></font></td>
</tr>
</table><br>";
}
Now, why doesn't that str_replace wanna work?