gesf
New member
How thus, connect Php, Mysql and Apache !?
Can you tell it in other words !?
If your talking in connect you php script to a mysql database, use:
Regards
Can you tell it in other words !?
If your talking in connect you php script to a mysql database, use:
Code:
<?php
$localhost ="localhost";
$dbuser="your_db_name";
$dbpass= "your_db_pass";
$dbname = "your_db_name";
mysql_connect($localhost, $dbuser, $dbpass) or die
(mysql_error());
mysql_select_db ("$dbname") or die(mysql_error());
?>
Regards