Sort of a side note to this, but related:
I'm taking customer information (name, addy, etc) and information about vehicles (make, model, year, price, description) and inserting that into a database. I suspect it won't get abused a great deal since the customer must go through a payment process before the information is sent to the MySQL database. Regardless, the information they submit still needs to be checked.
I've been looking at several PHP functions that aid in the safetying of data before it is entered into a MySQL database. Functions like addslashes, stripslashes, mysql_real_escape_string, and strip_tags. My question is this: What are the recommended functions to send the data to before saving it in the database? So far, while testing, I have just been using mysql_real_escape_string. But I am not sure of whether or not I need to use additional functions. Any suggestions?