username; if($target == '' || $source == ''){ echo "error"; exit; } $analysis = getRelationship($target, $source); switch($analysis){ case 1: $result = '

They\'re following each other. How sweet!

'; break; case 2: $result = '

@'.$source.' is following @'.$target.'

@'.$target.' is NOT following @'.$source.'

'; break; case 3: $result = '

@'.$target.' is following @'.$source.'

@'.$source.' is NOT following @'.$target.'

'; break; case 4: $result = '

@'.$source.' is blocking @'.$target.'

'; break; case 9: $result = '

It seems that they don\'t know each other!

'; break; } $html = $result; echo $html; ?>