View Single Post
  #1 (permalink)  
Old June 2nd, 2005, 04:28 AM
tks_muthu tks_muthu is offline
Authorized User
 
Join Date: Nov 2004
Location: CHENNAI, TamilNadu, India.
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to tks_muthu
Default Call to undefined function mysql_connect()

hi all!

i am using windows xp and iis 6.0. whenever i open the php page
i got the following error message:-

Call to undefined function mysql_connect()
my source :

<?php
$db_name='sample';
$conn=mysql_connect('servername','username','passw ord') or die('Error connecting to mysql');
mysql_select_db('db_name');
?>

plz help.



Muthu
__________________
Muthu
Reply With Quote