I want to use an if statement that when it matches a string in the database, it prints out a message. But, in the database, if there is more than one count of the string then it prints it out multiple times. Does anyone know how to make sure it only prints once? Many thanks. My code is:
if ($value == 'America')
{
echo "Welcome";
}
break;be suffice?