In what order
Posted: Wed Jun 27, 2007 8:58 am
I have a form that runs a file called check.processor.php when the submit button is clicked.
The check.processor.php performs :
1st. the forms validation
2nd. inserts the data into the database
My Question is, when do i start using mysql_real_escape_string. Do i need to use it:
1. as soon as i start the forms validation
2. or can i just use it before i insert the data into the database after the validation has been done
thanks
The check.processor.php performs :
1st. the forms validation
2nd. inserts the data into the database
My Question is, when do i start using mysql_real_escape_string. Do i need to use it:
1. as soon as i start the forms validation
2. or can i just use it before i insert the data into the database after the validation has been done
thanks