+3
posted by Александр Фалалеев , 2 years ago , 0

When in PHP code string contanin SQL code highlight don't work when string started with new line. Example:

<?php
$query = "
    SELECT

      *

  FROM
        `table`
";
?>

Worked well:

<?php
$query = "SELECT

      *

  FROM
        `table`
";
?>

Vote