bentleyboy Posted March 12, 2003 Share Posted March 12, 2003 I\'ve set up Mysql and have gone through PHPfreaks tutorial for setting up a memnership login. I have called my database \"registration\" with a single table called users. The first HTML form \"join.html\" posts values to register.php. When I complete the form I get back: \"No Database Selected\" I know it is a simple case of the rogith path or name not being used, but I simply cannot find it! ANy help greatfully recieved! Quote Link to comment Share on other sites More sharing options...
shivabharat Posted March 13, 2003 Share Posted March 13, 2003 u have to use $db = mysql_connect("localhost", "admin","admin"); mysql_select_db("test",$db); were \"test\" is my datbase name. 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.