tests with phonegap and php and mysql