The moderator warlocks of the underworld will take you away and feast upon your internet soul and you may well be unable to post any more messages.
As to your question. You haven't made you applet get the data.... you are outputting it directly from PHP. But you can connect to your database directly from your applet and then you can do INSERTS, SELECTS, UPDATES etc to your heart's content.
However, just because you CAN do something does not always mean that you SHOULD. There are rather serious security repercussions to consider when you make a database open to the internet. As you would need to do to connect from an applet so such direct connections are often discouraged.
these drivers cost money
Originally posted by Joseph Meckler:
You know what I just realized after reading that tutorial?
JDBC and ODBC drivers are what java somehow mysticly uses to access all of the database functions. And these drivers cost money.... you have to pay for them....
They are like 500 dollars too.
That doesnt make alot of sense! lol!
Originally posted by Ulf Dittmer:
Not all of them. I think it's only SQLServer that has a need for 3rd party drivers, because the one available from Microsoft is apparently quite buggy. But they have a new one in beta now, which may or may not be of better quality when it is released. In the meantime, have a look at jTDS (on SourceForge), which is a free SQLServer driver of good quality. Or which DB are you using that you think you need a commercial driver for?
I mean perhaps I am paranoid but gee it seems that MS might have some reasons for wanting NET performance to be better than Java when communicating with SQL Server.
If this is part of an applet, there are a number things that can go wrong when trying to access a database.
Don't get me started about those stupid light bulbs. |