Hi,
I'm rather new to both MySQL and PHP. I've been trying to use PHP to
write to a MySQL database. I call mysql_pconnect to get a database
connection, but then when I call mysql_db_select , I get the following
error :
Unknown MySQL Server Host 'localhost '
I can connect to the database via the command line ok. Where can I
look to find the source of this problem?
Thanks,
Jason Mazzotta
I'm rather new to both MySQL and PHP. I've been trying to use PHP to
write to a MySQL database. I call mysql_pconnect to get a database
connection, but then when I call mysql_db_select , I get the following
error :
Unknown MySQL Server Host 'localhost '
I can connect to the database via the command line ok. Where can I
look to find the source of this problem?
Thanks,
Jason Mazzotta
Comment