• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in PHP by
Q:
How to create database connection and query in PHP?

1 Answer

0 votes
by

Since PHP 4.3, mysql_reate_db() is deprecated. Now you can use the following 2 alternatives.

mysqli_query()

PDO::_query()

Related questions

0 votes
asked Jun 6, 2020 in PHP by Robindeniel
0 votes
asked Jun 22, 2019 in PHP by SakshiSharma
...