Based on http://us.php.net/manual/en/filter.filters.sanitize.php , this looks like a good way for my purposes:
$filteredVar = filter_var($myVar, FILTER_SANITIZE_STRING);
The strings I will be inserting to my db will be addresses, dates, prices, and product names, all from db or generated by jquery datepicker or google maps api.