|
Thank you very much. that is very helpful but now i'm getting errors as if I made my arrays wrong, i don't think I have but heres what they look like
global $gs_database['host'] = "localhost"; // database host ( for example 'localhost' )
global $gs_database['database'] = "guildspace"; // database name
global $gs_database['username'] = "root"; // database user
global $gs_database['password'] = ""; // database user's password
Heres the error
Parse error: parse error, unexpected '[', expecting ',' or ';' in conf.php on line 3
note, that first line i posted is line 3.
I've also tried telling my function to use thoes vars as globals as the link you gave me said by using this line:
global $gs_database['host'],$gs_database['username'],$gs_database['password'],$gs_database['database'];
and it still give me the same error.
Last edited by skinner927; 10-09-2006 at 05:20 AM..
|