escapce unvalid charactors

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Yarco

    escapce unvalid charactors

    I have a silly question. We know when we add text into database, we
    always need to escapce the unvalid charactors.
    But why it is not done automatically by database?

  • Michael Fesser

    #2
    Re: escapce unvalid charactors

    ..oO(Yarco)
    >I have a silly question. We know when we add text into database, we
    >always need to escapce the unvalid charactors.
    >But why it is not done automatically by database?
    With prepared statements (PDO) it's done automatically, more or less.

    Micha

    Comment

    Working...