我只是試圖在 php 中創建數據庫,但我得到的錯誤是:致命錯誤:未捕獲錯誤:在...中找不到類“SQLite3”$dbhandle = new SQLite3('my_test_db') or die('Unableto open database');if (!$dbhandle) die ($sqliteerror);$stm = "CREATE TABLE Friends(Id integer PRIMARY KEY," "Name text UNIQUE NOT NULL, Sex text CHECK(SexIN ('M', 'F')))";試圖在 php.ini 中刪除 sqlite 之前的分號,但沒有成功。有人知道修復嗎?
添加回答
舉報
0/150
提交
取消