Page 1 of 1

Php mySQL help for newbie

Posted: Sun May 26, 2002 7:15 am
by oz
I'm very new to PhP. I have a web host with a mySQL database.

They provided me with a database name lklein.

I set up a BB YAOBB I think the name is. It works fine with the lklein database.

Ok my Question.

If I add some other php script for an all-together different purpose, Do I use this same data base or will the contents be destroyed.

Not sure if they will let me set up another one. This one was already set up and they do not allow any command line progys like Telnet.

Oz :?:

?>

Posted: Sun May 26, 2002 7:45 am
by MattF
I assume you mean YABB. The thing about a database is that it is a collection of tables. Your YABB database probably has several tables with information like threads, users and posts. You will be fine to use other scripts with your database as long as you make sure you use different table names for each different script. For a good web based mySQL manager you should try phpMyAdmin from http://www.phpwizard.net .

Posted: Sun May 26, 2002 8:03 am
by oz
Ok, Thanks! BTW is there a list somewhere of PHP environment varibles?
like $HTTP_AGENT, etc.

Oz

Posted: Sun May 26, 2002 12:00 pm
by volka