R
R
Rundik2015-10-02 11:02:08
PHP
Rundik, 2015-10-02 11:02:08

Briefly from php_mysql to MySQLi?

How do I write the following in MySQLi

$db = mysql_connect (" ... ", " ... ", " ... ");
mysql_select_db (" ... ",$db);
$InfoQuery=mysql_query(" ... ",$db);
$Info=mysql_fetch_array($InfoQuery);

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rundik, 2015-10-02
@Rundik

All figured out. Thanks to all.

$db= mysqli_connect(" ... ", " ... ", " ... ", " ... ");
$InfoQuery=mysqli_query($db, " ... ");
$Info=mysqli_fetch_array($InfoQuery);

L
littleguga, 2015-10-02
@littleguga

$db = mysqli_connect (" ... ", " ... ", " ... ");
mysqli_select_db (" ... ",$db);
$InfoQuery=mysqli_query(" ... ",$db);
$Info=mysqli_fetch_array($InfoQuery);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question