Ageis
Ageis

Reputation: 2315

mysqli prepare statement Does it deal with things like apostraphe

within my web app there is no doubt the posibility for user's to enter an apostraphe. This will btreak the sql statment if it's not escaped. Will mysqli prepared statements escape this for me?

Upvotes: 1

Views: 134

Answers (1)

Pekka
Pekka

Reputation: 449395

Will mysqli prepared statements escape this for me?

Yup, that's what they're for.

Upvotes: 3

Related Questions