INSERT INTO pierre_res_reps (company,city,state,comments,active)
VALUES ('#form.company#','#form.city#','#form.state#','#form.comments#',#form.active#)
UPDATE pierre_res_reps
SET
company = '#form.company#',
city = '#form.city#',
state = '#form.state#',
comments = '#form.comments#',
active = #form.active#
WHERE ID = #URL.ID#
SELECT *
FROM pierre_res_reps
Admin: Main Page