It sounds to me like you're used to the "select a record, edit record, update record" process used by ADO and DAO with Microsoft products (such as Visual Basic). When doing SQL, you use a little different process.
The basic technique for updating data in any SQL database is:
UPDATE <table> SET column=value WHERE <optional conditions>
So, if you have a table of inventory items, for example, and you want to update the description of part number 2x4x8, you'd use something like this:
UPDATE inventory SET desc='Eight foot two by four' WHERE partnum='2x4x8'
This would update any rows where the part number is '2x4x8' by replacing their existing description with the text shown.
In my example, partnum is probably a unique column (i.e. there is only one row with that value), and therefore, only one row (if any) will be updated.
In a web scenario, in addition to the values you want to place into your database, you have to make sure you post the identifier that uniquely identifies the row to be updated (in my example, partnum).
When the use presses the SUBMIT button, the <FORM>'s ACTION= script formulates an SQL statement like this:
$SQL = "UPDATE inventory SET description='" . $DESC . "', quantity=" . $QUAN . " WHERE partnum='" . $PARTID . "'"
Hope that's helpful.
-- Mitch