I am running php 5 and apache server on my computer. I am currently learning php at uni and we are using Mysql. I have just installed mysql on my machine and have run the server successfully and used mysql browser to open a script and populate some tables for some exercises I have done at Uni. I then procceded to change the php database connection information and run the files from home and I am recieving an error. Fatal error: Call to undefined function mysql_connect() in D:\Apache Group\Apache2\htdocs\NightClassBrett\week 10\nw.php on line 27 The line it is reffering to is $db=mysql_connect("localhost","root" ,"root"); The localhost psw and username are definatly correct. I set the psw to root. Any ideas to what I may have done wrong in installation that could be causing this problem I have also removed the ' in front of the line 'extension=php_mysql.dll which I believe was nessacery. Is there any other alteration to the php.ini file I need to make ? any help would be aprreciated.