Jump to content

PHP, Tomcat, MySQL help


hm991

Recommended Posts

Greetings:)

 

My basic aim is to connect my MySQL database to my MobileApplication(emulator). For this I am makeing use of Tomcat as well. Now I want to write a PHP GET script, as I want to open an HTTP Connection to pass it in the following statement: private final static String URL = (url);

 

At the moment, my url is: "jdbc:mysql://:3306/db_audiology?", which cannot be passed in HTTP Connection. Please correct me if I'm wrong but I think I need a PHP GET script, which connects to MySQL database using JDBC and then gives the needed data to mobile client.

 

Please find attached a .php file, and please guide me.

 

Many thanks

=)

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/197343-php-tomcat-mysql-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.