Hi,
for example I have this script:
if ($KeyWords != ""
{
$my_array = explode(" ", $KeyWords);
$count = count($my_array);
if ($count == 1)
{
$sql = ("SELECT BanID from KeyWords WHERE Kwords LIKE '%$my_array[0]%'"
$result = mysql_query($sql);
How will I know if the keyword I entered is not present on the KeyWords table? I need to display "Not Found" else if it is found on the table it should say "Found"
Please help, thanks!
Phutie
}
for example I have this script:
if ($KeyWords != ""
{
$my_array = explode(" ", $KeyWords);
$count = count($my_array);
if ($count == 1)
{
$sql = ("SELECT BanID from KeyWords WHERE Kwords LIKE '%$my_array[0]%'"
$result = mysql_query($sql);
How will I know if the keyword I entered is not present on the KeyWords table? I need to display "Not Found" else if it is found on the table it should say "Found"
Please help, thanks!
Phutie
}