0

how to connect php mysql database..??

10th Jul 2016, 6:26 PM
Vimal Miahra
5 Answers
+ 1
don't use mysql_* its fully removed on php7...use PDO for manage database .
11th Jul 2016, 10:40 AM
SOLEYMAN
SOLEYMAN - avatar
0
mysql_conect useing.
11th Jul 2016, 3:08 AM
darkgenius
0
mysql_connect(host,user,password) this information is from your database.
11th Jul 2016, 5:36 AM
Angélica Madrid
Angélica Madrid - avatar
0
yes
11th Jul 2016, 5:38 AM
darkgenius
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.
11th Jul 2016, 8:39 AM
Golam Ryan
Golam Ryan - avatar