maxudaskin Posted July 17, 2007 Share Posted July 17, 2007 Is <?php $con = "mysql_connect('mysql.[removed].net','[removed]dbadmin','[removed]admin');"; mysql_select_db('[removed]db', $con); ?> Incorrect? That minus [removed]... removed is substituting only text no numeric values. Quote Link to comment Share on other sites More sharing options...
maxudaskin Posted July 17, 2007 Author Share Posted July 17, 2007 I get the following error: Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/.grable/vzoom/virtualzoom.net/include/dbconnect.php on line 3 Quote Link to comment Share on other sites More sharing options...
tapos Posted July 17, 2007 Share Posted July 17, 2007 Yes. and should be $con = mysql_connect('mysql.[removed].net','[removed]dbadmin','[removed]admin'); -- Tapos Pal Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.