database - PHP SQLITE3 Create Table -


for reason table i'm trying create isn't being created when run following code:

$database = new pdo('sqlite:maindb.db');  $database->query("create table friends(id integer primary key, int, int);"); 

has else faced similar issue? i've tried exec well, no luck.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -