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! Link to comment https://forums.phpfreaks.com/topic/222-using-include-dbphp-newbie/ 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. Link to comment https://forums.phpfreaks.com/topic/222-using-include-dbphp-newbie/#findComment-662 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.