IT Fashion
A very private tech blog.
Friday, November 4, 2016
connect to my via php OO
$conn = new mysqli($server, $db_username, $db_password, $dbname);
$result = $conn->query($sql);
if ($result->num_rows > 0) {...}
is_array($row = $result -> fetch_assoc());
$conn->close();
https://zhidao.baidu.com/question/2201572985022619508.html
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
About Me
itfashion
View my complete profile
No comments:
Post a Comment