$pdo->exec($sql);Why does it always return false?
我正在输入...
我正在输入... 2020-02-26 22:56:53
0
0
1006

$pdo = new PDO($dsn,$username,$password);

var_dump($pdo);//The output is object(PDO)#1 (0) { }


//Execute the insert statement

$sql = "update text set age=age 1 where id=5";

$records = $pdo ->exec($sql);

var_dump($records);

我正在输入...
我正在输入...

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template