$createTableQuery="CREATE TABLE IF NOT EXISTS ITEM( Id INT auto_increment, Prefix VARCHAR(20), Code VARCHAR(50), Name VARCHAR(50) NOT NULL, Description VARCHAR(255), ReceivingUnit VARCHAR(20), BillingUnit VARCHAR(20), Type VARCHAR(50), Category VARCHAR(50), SubCategory VARCHAR(50), UNIQUE(Code), PRIMARY KEY(Id) )"; $createTableQuery="CREATE TABLE IF NOT EXISTS PO( Id INT auto_increment, Date DATE, QuoteId INT, VendorId INT NOT NULL, PaymentTerms VARCHAR(255), Remark VARCHAR(255), PRIMARY KEY (Id), FOREIGN KEY(QuoteId) REFERENCES RequestForQuote(Id), FOREIGN KEY(VendorId) REFERENCES VENDOR(Id) )"; $createTableQuery="CREATE TABLE IF NOT EXISTS POItems( BillId INT, ItemId INT, Quantity INT DEFAULT '0', Rate DECIMAL(10,2) DEFAULT '0.0', ExciseDutyPercent DECIMAL(5,2) DEFAULT '0.0', VAT DECIMAL(5,2) DEFAULT '0.0', CST DECIMAL(5,2) DEFAULT '0.0', ServiceTax DECIMAL(5,2) DEFAULT '0.0', DiscountType VARCHAR(20) DEFAULT '0.0', Discount DECIMAL(10,2) DEFAULT '0.0', Remark VARCHAR(255), PRIMARY KEY(BillId, ItemId), FOREIGN KEY(BillId) REFERENCES PO(Id), FOREIGN KEY(ItemId) REFERENCES ITEM(Id) )";
How can I change add/edit/read forms to achieve this?