Current menu
SELECT Name, Price, ItemID
FROM Items
WHERE ParentItemID = 0
#get_items.Name# - #dollarformat(get_items.Price)#
Edit 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 ID=#chip#
no mode!