Creating MySQL connection
Posted: Tue Mar 01, 2005 5:51 am
hey everybody!
im not that experienced with PHP but i got a question:
what's wrong with the following lines of php code? i just can't get it to work
mysql_connect(localhost,root,inktvis);
@mysql_select_db(testdatabase) or die( "Unable to select database");
mysql_close();
thanks, michael
im not that experienced with PHP but i got a question:
what's wrong with the following lines of php code? i just can't get it to work
mysql_connect(localhost,root,inktvis);
@mysql_select_db(testdatabase) or die( "Unable to select database");
mysql_close();
thanks, michael