Java with PHP

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
User avatar
a94060
Forum Regular
Posts: 543
Joined: Fri Feb 10, 2006 4:53 pm

Java with PHP

Post by a94060 »

does anyone know where i could find a good guide for interacting a java game with a mysql databese? (i just need it for a project i want to help someone for.
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

Why would you go java <-> php <-> mysql if you can simply go java <-> mysql...

At mysql.com you can download the jdbc driver, i believe it's called connectorJ...
After that it's only a matter of doing a bit of JDBC, a very simple example
User avatar
a94060
Forum Regular
Posts: 543
Joined: Fri Feb 10, 2006 4:53 pm

Post by a94060 »

im very sorry...i meannt java with mysql
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

Well, just follow the links a give you... They will explain how to do it ;)
User avatar
a94060
Forum Regular
Posts: 543
Joined: Fri Feb 10, 2006 4:53 pm

Post by a94060 »

i know absoulty nothing about java so will those help also?
d3ad1ysp0rk
Forum Donator
Posts: 1661
Joined: Mon Oct 20, 2003 8:31 pm
Location: Maine, USA

Post by d3ad1ysp0rk »

Then have the person who built the game let it interact with it.
User avatar
a94060
Forum Regular
Posts: 543
Joined: Fri Feb 10, 2006 4:53 pm

Post by a94060 »

ok,ill do that then.
Post Reply