String concatenation error on line 15 inside while loop.echo 'There are . $result . 'members';}
Try this:
$result=mysql_query("SELECT COUNT(*) AS total FROM registration") or DIE(mysql_error());
$row = mysql_fetch_row($result);
if($row[0]['total'] > 0) {
echo 'There are ' . $row[0]['total'] . ' members.';
}
It should work (not tested).