Jump to content
Larry Ullman's Book Forums

Using Prepared Statements In The First Example


Recommended Posts

Larry,

 

I am using the first example from the book as the basis for a site I'm making. I noticed that you are just using standard queries for everything (registration, login, etc...) Would it be better to replace all those with prepared statements? As you said in your books, they prevent SQL injection attacks and can have a performance increase. Would there be any disadvantages to using them?

 

Thanks,

 

Matt

Link to comment
Share on other sites

 Share

×
×
  • Create New...