sql database prefixes

unmasmida

New Member
When I create a database on my hostgator webserver, it prepends a database prefix to the database name. for instance if I do\[code\]CREATE DATABASE 'dbname'\[/code\]it makes a db called \[code\]myname_dbname\[/code\]My question is, is there a way I can have my PHP get the db prefix so that I can add it into my configuration file?
 
Back
Top