The last post is using the MySQL JDBC from a Java Server Page in a servlet environment. I never tried to run this from Java imbedded in a PHP script. You would have to remove the exception handling, at least.
I dispatch a Java Server Page from my php script (write to a socket), do some java stuff there involving my MySQL db, and return the output to my php script (read from socket). I can send more details on this if you're interested. Rich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php