03 2016 档案
摘要:无标题文档 prepare($sql); //执行语句 if($ss->execute()) { //print_r($ss->fetch()); var_dump($ss->fetchColumn(1)); } else { echo "失败"; }*/ $pdo = new PDO("mysql:dbname=tt;host=loc...
阅读全文
摘要:无标题文档 0) { $ss = implode("','",$qytj); $str1 = " Area in ('{$ss}')"; } //判断租赁类型 if(count($zltj)>0) { $ss = implode("','",$zltj); $str2 = " ...
阅读全文
摘要:无标题文档 名称: 价格: 代号 名称 价格 Query($sql); for($i=0;$i{$name}",$attr[$i][1]); ...
阅读全文
摘要:无标题文档 "; echo $b;*/ /* function Name() { echo "asd"; } Name();*/ /*function Test($a,$b) { return $a+$b; } echo Test(1,2);*/ /*function Test($...
阅读全文
摘要:1、 查询Student表中的所有记录的Sname、Ssex和Class列。 select sname,ssex,class from student 2、 查询教师所有的单位即不重复的Depart列。 select distinct depart from teacher 3、 查询Student
阅读全文
摘要:grant 普通数据用户,查询、插入、更新、删除 数据库中所有表数据的权利。 grant select on testdb.* to common_user@’%’ grant insert on testdb.* to common_user@’%’ grant update on testdb.
阅读全文
浙公网安备 33010602011771号