Modified index search page to use PDO to make the code DBMS independant