html - PHP: how to echo string that contains both ' and " -


is trying to resize the following

  echo (<& lt; script & gt; ; $ (Document) (work () ($ ("example"). DataTable ({"bPaginate": incorrect, "order": [[3, "asc"]], "dom": '& lt ; "[{sWidth: '3%'}, {sWidth: ''," $ ('# DataTables_filter'). $ ('% Example'). () {oTable.fnFilter ($ (this) .val ());})}); )   

As you can see There are too many ' and " too often And it's a \ to properly echo. Is there any other way? I searched in StaxHourFlow and nothing has been found so far ...

Go into php mode only when you need it.

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -