I'm going crazy here. I know this is really basic but...
I wan't to check if a SQL result contains as string.

Code:
IF $result contains $_SESSION['name']
{
Do **** here
}
Thanks