PHP/SQL delete based on form criteria:
I have a table that i want users to be able to delete based on 2 values..
"name tag" and "cpm"
tag = varchar(25)
cpm = float
I have this form on the main page:
I can't seem to wrap my head around what to do on my purgestrikesearch.php page..
<form method=post action="purgestrikesearch.php">
<label>Delete Records: Tag Name:</label>
<input size=10 type=text id=tag name=tag>
<label> Where CPM is greater than:</label>
<input type=text size=2 id=cpmval name=cpmval>
<input type=submit value="Delete">
obiously i'm conncting, but building the query is puzzling me..
any help would be appreciated..