Before doing the prompt with very normal, can in the output alert to "prompt content one" and "prompt content two" line display, but today with the echo output is not good, the reason is estimated to put \ n as HTML inside the line, because when viewing the source file on the page, found that \ n has no, and "prompt content a "and" Prompt content two "in the interval of a line, equal to the entire statement is broken, so click on the prompt box will not prompt, the solution is to write:
echo "";
That is to write \\n, note, I use JavaScript, if using VBScript is vbCrLf to solve.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
The above is introduced in PHP to make the output of the alert content line, including the aspects of the content, I hope that the PHP tutorial interested in a friend helpful.