db1=openDatabase(id, version, displayName,maxSize); db1.transaction(function(transaction) { tx.executeSql('CREATE TABLE IF NOT EXISTS customer(UserId INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, Cust_name TEXT NOT NULL, Address1 TEXT NOT NULL,Address2 TEXT NOT NULL ,Address3 TEXT NOT NULL , Tel INTEGER NOT NULL , Email TEXT NOT NULL, Fax INTEGER NOT NULL , Credit_period INTEGER NOT NULL)',transaction_error); function transaction_error(tx, error) { alert("Database Error: " + error); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)