title: php echo alert message with new line '\n' not working
body: <p>I have a message that I would like to show by using alert()
  <br></p>
  
  <pre><code>$message = "No result found for the following info:Name: ".$FullName."IC: ".$ID." in database.";
  echo "&lt;script&gt;alert('".$message."'); window.history.back();&lt;/script&gt;";
  </code></pre>
  
  <p>This is working but if I add a new line '\n' into the message
  <br></p>
  
  <pre><code>$message = "No result found for the following info:\nName: ".$FullName."\nIC: ".$ID." in database.";
  </code></pre>
  
  <p><br>it will not show out the pop out message. What is the problem?</p>