The flowing code outputs this result from my database
<?php
$result = mysql_query("SELECT SUBSTRING(UserID,45) FROM GridUser where Online ='True' " );
if (!$result) {
die("query error");
}
$fields_num = mysql_num_fields($result);
echo "<table border='0'><tr>";
while($row = mysql_fetch_row($result))
{
echo "<tr>";
foreach($row as $cell)
echo "<td><center>$cell</td>";
echo "</tr>\n";
}
?>
the out put from table looks like this
hypergrid.org:8002/;Isolde Caron with origional data looking like '0012f478-60fe-49bf-bb2d-48a889191afd;http://hypergrid.org:8002/;Isolde Caron'
I wish to replace the ";" in the result with spaces...
any ideas would be greatly appreciated tia john