To add `date` field at the end, click SQL tab, enter the following code in the SQL box, and click Go button.
Code:
alter table wealsolcal_calculator add date datetime;
To check if `date` field is added, click Structure tab (you will see `date` field added).
To add data to `date` field, enter the following update query in the SQL box, and click Go button.
Code:
update wealsolcal_calculator set date=now() where id='admin';
To check if current date/time is added, click Browse tab (you will see something like: 2012-06-18 08:59:04)
Looks like you are importing sql file whenever you add data. You don't need to do that. If you want to insert
new data for another row, enter insert query in the SQL box. If you are inserting data for all fields, you don't
need to list field names; just list values as shown below:
Code:
insert into wealsolcal_calculator values ('SIBOR', 'SOR', 'Fixed Rate', 1.00, 1.00, 2.00, 2.00, 3.00, 3.00, 4.00, 4.00,
1.00, 1.10, 1.20, 1.30, 2.00, 2.10, 2.20, 2.30, 3.00, 3.10, 3.20, 3.30, 4.00, 4.10, 4.20, 4.30, 'admin',
'c2431a9d201559f8de1dcfb6a9dd3168', now());
//To insert another row
insert into wealsolcal_calculator values ('aaaa', 'bbb', 'ccc', 1.50, 1.50, 2.50, 2.50, . . . . . . . . . , now());
To output date/time, use $row['date'];