|
|
|
ทำ parameter ยังไงครับงงมากหาทางแก้ก็ไม่มีผู้รู้ช่วยทีครับ Warning: mysqli_select_db() expects exactly 2 parameters |
|
|
|
|
|
|
|
Code (PHP)
<?php
ini_set('display_errors', 1);
error_reporting(~0);
$serverName = "localhost";
$userName = "root";
$userPassword = "root";
$dbName = "mydatabase";
$conn = mysqli_connect($serverName,$userName,$userPassword,$dbName);
$sql = "SELECT * FROM customer";
$query = mysqli_query($conn,$sql);
?>
=> mysqli
|
|
|
|
|
Date :
2015-08-19 09:13:19 |
By :
mr.win |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 04
|