![]() |
|
|
+ Search |
![]()
|
Jan 8th, 2006 00:28
Stratan Ionut, Madhulika Shiwale,
<?php
// connect to the server
mysql_connect( 'server(if on home
pc "localhost")', 'username', 'password' )
or die( "Error! Could not connect to database: " . mysql_error
() );
// select the database
mysql_select_db( 'database' )
or die( "Error! Could not select the database: " . mysql_error
() );
?>