hi all!

i got the error message while i am opening the php page.

"Call to undefined function mysql_connect()"

my source :

$db_name='sample';
$conn=mysql_connect('servername','username','password') or die('Error connecting to mysql');
mysql_select_db('db_name');

plz help.

Muthu

Comments