Current menu
SELECT Name, Price, ItemID
FROM Items
WHERE ParentItemID = 0
#get_items.Name# - #dollarformat(get_items.Price)#
Update menu
SELECT Name, Price, ItemID
FROM Items
WHERE ParentItemID = 0
#get_items.Name# - #dollarformat(get_items.Price)#
INSERT INTO Items
(
Name,
Price,
ParentItemID,
AddedOn
)
VALUES
(
'#form.Name#',
'#form.Price#',
'#form.chip#',
#createODBCDateTime(now())#
)
DELETE FROM Items
WHERE 0=0
INSERT INTO Items
(
Name,
Price,
ParentItemID,
AddedOn
)
VALUES
(
'Hamburger',
'7',
'0',
#createODBCDateTime(now())#
)
DELETE FROM Items
WHERE ID=#chip#
no mode!