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

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -