PHP version is 5.2.15 , which works with the MySQL just fine.
What error message do you get?
Or do you get no error, just an empty response?
Have you tried using cPanel --> PHPMyAdmin to look at the table and its contents to see if the data is there and correct?