in reply to Grabbing MySQL Connect Code?

You just need to know username, password, database name and, optionally, a host for the database. These should all be questions you ask the user. There's no good way to do this without asking them.

Replies are listed 'Best First'.
Re^2: Grabbing MySQL Connect Code?
by Spidy (Chaplain) on Nov 21, 2005 at 03:49 UTC
    Alright. Would there be any way for me to create a database on their server, and then the tables inside it? I know how to create tables inside an already made database, but not how to create the database without them creating it for me.