Sorry very very new to php , obviously my code below is wrong. What should the code be?
$result = mysql_query("SELECT * FROM TEST Where Name LIKE 'Smith%'")
or die(mysql_error());
// Print out result
while($row = mysql_fetch_array($result)){
echo "There are ". $row['COUNT(Surname)'] .";
}
Thanks If anyone can help