萬盛學電腦網

 萬盛學電腦網 >> 網絡編程 >> php編程 >> 用轉義字符“\”對字符串進行轉義

用轉義字符“\”對字符串進行轉義

class="area"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>使用轉義字符“\”對字符串進行轉義</title>
</head>


<body>
<?php
echo ' select * from tb_book where bookname = \'PHP5從入門到精通\' ';
?>
</body>
</html>
copyright © 萬盛學電腦網 all rights reserved