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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.