When doing this job in PHP,one may meet this kind of issue:
\">...
The problem is that if
Well, before you output any text into HTML you should escape it using htmlspecialchars(). So just make sure (double) quote is correctly changed.
Pay attention to the second parameter of that function.