如何使用xampp在php中连接Oracle数据库?
这样对吗?
$servername = "localhost";
$username= "username";
$password= "password";
$dbname = "db";
$conn= new mysqli($servername,$username,$password,$dbname);
// check connection
if($conn->connect_error){
die("connection Failed:".$conn->connection_error);
}
ABOUTYOU
繁华开满天机
哔哔one