0

How to connect to a database?

php

30th Apr 2017, 6:19 AM
Sohamkumar Chauhan
Sohamkumar Chauhan - avatar
2 Answers
+ 2
what i understand is that you have connections using mysql_server/srv_server and pdo. Pdo is much more generic, so i would suggest looking up the php manual for PDO, there is a connection section you should check out
30th Apr 2017, 7:32 AM
Harm Zeinstra
Harm Zeinstra - avatar
+ 1
The sample code that shows you how php connect and read data from mysql https://code.sololearn.com/wRG5Cck4ilU4/?ref=app
30th Apr 2017, 6:21 AM
CalviŐ˛
CalviŐ˛ - avatar