plzz php/mysql master help me!!!
but i got this error msg: Access denied for user 'star'@'localhost' (using password: NO)
plz correct this coding.
thankx in advance
Code:
<?php $conn = mysql_connect ("localhost", "root", ""); $db1 = mysql_select_db ("database1", $conn); $db2 = mysql_select_db ("database2", $conn); $result = mysql_query ("SELECT * FROM whatever", $db1); ?>
plz correct this coding.
thankx in advance
Comment