How do i make a if statement which checks if the string contains a forward slash?
$string = \"Test/Test\"; if($string .......) { mysql_query(\"\"); }
Use strpos()
If it doesn't return false, the character was matched.