Escape Single Quote for JavaScript
For example, if you have a button in PHP code like this: ... return "<button onclick='get_name("$id", "$title")'>Post</button>"; ... It will work well except the following… Read More »Escape Single Quote for JavaScript