Notice: Undefined offset: 4 in /var/www/html/redirect2.php on line 28

Warning: mysql_connect(): Headers and client library minor version mismatch. Headers:50564 Library:100148 in /var/www/html/redirect2.php on line 36
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'r')' at line 1