In my backend I have written a script which allows one to setup his database info on the server, however when a username or pw is entered which is not registered with mysql I’d like for there to be a nice message stating such instead of the usual error/warning mysql gives… I was thinking that perhaps I could ommit the error code altogether (“or trigger_error(mysql_error(),E_USER_ERROR”) and try something like an if statement using the connection ($dbc = mysql_pconnect($hostname_dbc, $username_dbc, $password_dbc)") as a condition which has to be true… else, an echo stating the error… I hope this makes sense… :o
anyhow, as I was cautioned by one here, php has turned out to be quite fun… lol