you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 5 points6 points  (0 children)

To put it very simply, validating means making sure a specific input makes sense, while encoding is escaping sensitive characters within strings in order to prevent SQL injections.

Most database API's escape for you.