Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • damn skippy... so how do I escape this, and would this be an issue if it was inserting $description? Commented Oct 12, 2012 at 7:06
  • @user1621945: using prepared statements will escape all chars that need escaping for you, that's why the update mentions mysqli_prepare. BTW: I don't know what exactly you're planning to store in that DB, but using TEXT fields should be avoided if possible (each query will create a temporary table on disk, because text fields are deemed too large). Just a tip Commented Oct 12, 2012 at 7:19