0
how to connect php mysql database..??
5 odpowiedzi
+ 1
don't use mysql_* its fully removed on php7...use PDO for manage database .
0
mysql_conect useing.
0
mysql_connect(host,user,password) this information is from your database.
0
yes
0
standard rule is to declare it by a variable.
like...
$conn= mysql_connect('host', 'dbname','user','password').
in some local servers like xampp user is always root if you did nt change the permission.