SyntaxFix
Write A Post
Hire A Developer
Questions
You should check wheter the index exists before use it (compare it)
if (isset($_GET['s']) AND $_GET['s'] == 'foobar') { echo "foo"; }
Use E_ALL | E_STRICT while developing!