get id
<cfoutput
query="myQ">
<tr>
<td colspan="2"><cfINPUT name="city"size="15" value="#city#" id="city"></td>
<td colspan="2"><cfINPUT name="state"size="30" value="#state#" id="state"></td>
<td><cfinput type="submit" name="action" value="Update" id="update"></td>
<td><cfinput type="submit" name="action" value="Delete" id="delete"></td>
<input type="hidden" name="id" value="#id#">
</tr>
</cfoutput>
I would like to ask you guys two quesitons:
1. When i click the update button for first record, i suppose to get id =1 not the whole list (1,2,3). how can i get the individual id when i click on individual record.
2. How can get find out wich action when am i click on. i was ouput the #action# on the next page but it telling me action is not defined.

Thanks
KT
