|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
My web hosting provider does not let my use jdbc to connect an applet to mysql.
I was thinking of a way to get around it and by using php as an interface. The applet would run a php script that would in turn dialogate with MYSQL. Does anyboby knows if it is possible and where I could find some help on that. Thanks Claude |
|
#2
|
|||
|
|||
|
I have never donme this with java but I did do it once with javascript. If you create a page using frames with one frame of height "zero" and the main fram of height "*" (or whatever you like) you can then remotely load a php database query script into that zero height frame and pass your query criteria appended to the URL (i.e. query_page.shtml?criteria1=junk1&criteria2=junk2). That query_page can then load the returned values into <input type="hidden"> fields and you can use either java or javascript to retrieve the values and import them into you applet.
The benefit is that the user can make changes to the main page that will elicit updates of the currently displayed values without having to wait for a full main page reload. I know it work using javascript but I don't know if you have access to alternate frames and form elements using java. Just a thought. Good luck. Robert. |
|
#3
|
|||
|
|||
|
Have either of you succeded in getting connected to MySql as mentioned.
If so let us share the idea. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > PHP Development > Java Applet and PHP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|