易截截图软件、单文件、免安装、纯绿色、仅160KB
热门标签: c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 最新文章 :

SQL 编程

select COUNT(*) from a
where ChargeItem not in(select distinct(ChargeItem) from b)

为什么b表的chargeItem列有NULL只得话就查不出结果
select COUNT(1) from a
where ChargeItem not in(select distinct(ChargeItem) from b)

上面的方法 我试过了,还是不行!
......

php 静态sql

请问有哪位知道怎样在php代码中实现静态sql吗?谢谢!

什么叫"静态SQL"???

网上一查:
我们一般所说的静态SQL语句,是指每次调用时,语句是固定的(语句中变量的取值可能会不同);而动态SQL语句,每次调用时,则根据调用者的需要来临时拼出,这样语句就是不固定的。

类似这种的
$sql = "s ......

php mysql 实现连接池

请问有哪位知道怎么用php和mysql实现连接池吗?谢谢!
帮顶

为什么这样做呢?php连接mysql很快的

PHP 没有数据库连接池 好用第三方的东西吧!没试过!

php有连接池???头一次听说等待牛人中

真的没有php的连接池实现方法吗?

......

用php实现图片翻转

在一个页面里面,点击一下按钮,图片就以一定角度翻转。我是这样写的
PHP code:
// File and rotation
$filename = $_POST["bukken_img"];
$degrees = 90;

// Content type
header('Content-type: image/jpeg');

// Load
$source = imagecreatefromjpeg($filenam ......

精确控制php传值

PHP code:

<script language="JavaScript">
function toggle(id,id2,id3) {
var state = document.getElementById(id).style.display;
if (state == 'block') {
document.getElementById(id).style.display = 'none';
if (id2 != undefi ......

关于在php中取得last_insert_id的问题

刚才操作了以下几步:
1 在mysql的cmd状态中插入一条数据,查看当前id值。
2 在php中敢插入几条数据。
3 返回mysql的cmd状态执行:last_insert_id()。所获得的是第一步中在mysql中直接插入的最大id值,

这好像是线程问题吧,现在问题出来了:

像$q = "insert into users(username,first_name,l ......
总记录数:27572; 总页数:4596; 每页6 条; 首页 上一页 [2578] [2579] [2580] [2581] 2582 [2583] [2584] [2585] [2586] [2587]  下一页 尾页
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号