Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

tep_db_prepare_input vs tep_db_input


Recommended Posts

This is probably a stupid question, but my server has mysql_real_escape_string, so is there any reason I would ever want to use tep_db_prepare_input over tep_db_input? Looking at the code I don't see why I would. Tep_db_prepare_input looks like it strips slashes. Why would I want to do that befor adding something to the db? Don't I want to add slashes when inserting into a database? Thanks.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...