[PHP] Help php MySql link
Hi guys, what I need is how to make the link between the php and the Database. Is this the code for it? ro something like that? Help me guys... If you could tell me what each command line do I'd appreciate it, cause I got almost all from a friend, but is incomplete. The code follows this message. $db = (localhost,databasename,databasepassword); mysql_select_db(your name?,$db); $result = mysql_query(select column1, column2 from domain, $db); echo column 1 - column 2;
RE: [PHP] Help php MySql link
$db = (localhost,databasename,databasepassword); maybe add in a MySQL_connect() somewhere in there??? ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php