nah, try this using php...
post the script to itself and do error checking on it per say...
2 different ways of doing it, 1. tell the person that what they have entered won't work, or 2. edit it before u submit it to the dbase...
so example
way # 1 index.php -> enter numeric numbers ONLY into dbase
if submit = true && errors <> 1
{
if (isnumeric($_REQUEST['textbox']))
{
post to dbase
else
errors=1
print
}
form method = post action index.php name errorcheck
input box name = textbox
submit button
</form>
}
that idea looks right off the top of my head...
way number 2 ..
right before u insert into the dbase, change the text to what you'd like it to be, or remove what you don't want in it... ereg_replace i believe can help u there.. -> php.net/ereg_replace