mysqli multi query - mysql_connect() does connect to MySQL -
i in terrible situation. php works mysql database when use mysqli connection code, when try connect database using
<?php mysql_connect("localhost", "admin", "1admin") or die(mysql_error()); echo "connected mysql<br />"; ?>
i don't error message. rather browser goes offline or error message. have been trying figure out 2 weeks.
in php both mysql , mysqli lines uncommented. using windows 7 64 bit.
try using 127.0.0.1 instead of localhost.
Comments
Post a Comment