Anyone can tell me.How many ways are there to connect PHP with MYSQL and give me code also pls
punithapary
0
Light Poster
Recommended Answers
Jump to Post2 ways but I'm not sure if they both refer to the same type of SQL databases. The first one is:
$linkID = @mysql_connect($dbhost,$accountname,$password) or die("Could not connect to MySQL server"); @mysql_select_db($database) or die("Could not select database");
And the second is MySQLI and I think might be …
All 2 Replies
cwarn23
387
Occupation: Genius
Team Colleague
Featured Poster
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.