Guest_imported
New member
- Jan 1, 1970
- 0
I've got a text field. Can i get the entered value in a CFquery tag?
Like:
The user filled the text field (named: textfield) with: "hello"
In the CFQuery tag:
<cfquery datasource="FAQ">
DELETE FROM FAQ WHERE key = ?textfield?
</cfquery>
so the record with "hello" (key) will be deleted.
what do i have to fill in to get the variable of the text field in my cfquery tag?
Like:
The user filled the text field (named: textfield) with: "hello"
In the CFQuery tag:
<cfquery datasource="FAQ">
DELETE FROM FAQ WHERE key = ?textfield?
</cfquery>
so the record with "hello" (key) will be deleted.
what do i have to fill in to get the variable of the text field in my cfquery tag?