hey there, i recently installed php5.0.2, apache2.0 and mysql4.1 independently but got them to work together. however i can only access a database when i type:
$db = new mysqli('localhost','username','password','database');
and yet when i try:
$db = mysql_connect('localhost','username','password');
it does not work, i have uncommented the extension in my php.ini and copied the appropriate files to my php directory. what could be the problem.please help me.thanks