<?php $name = $_POST["n"]; include("./DBDA.class.php"); $db = new DBDA(); $sql = "select areaname from chinastates where areaname like'%{$name}%'"; echo$db->StrQuery($sql,0);
效果如图:
? php $name = $_POST ["n" ]; include ("./DBDA.class.php" ); $db = new DBDA(); $sql = "select areaname from chinastates where areaname like'%{ $name }%'" ; echo $db -StrQuery( $sql ,0); 效果如图:
<?php $name = $_POST["n"]; include("./DBDA.class.php"); $db = new DBDA(); $sql = "select areaname from chinastates where areaname like'%{$name}%'"; echo$db->StrQuery($sql,0);
效果如图:
1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。
Ajax/JSON/WEB存储/iframe详解
2017-10-09 11:01
既实现AJAX又实现SEO
2017-10-09 08:00
AJAX技术概述及性能改进研究
2017-10-08 15:02
asp.net 2.0 ajax技巧学习1
2017-10-08 11:03