Im no PHP expert but, im guessing that when the user submits the form it reloads to its own page then checks what the user entered based on the code provided.
You are trying to acces a variable $searching, which doesn't exist this is because you want the result from the previous page when it was submitted no? So since you are using the post method for the form you need to use this
$searching=$_POST['searching'];
or just directly link it in instead of assigning it to the variable searching.
Chris
o Big K beat me, o well lol