MySQl语句求助

Helloall 发布于 2014/06/17 15:30
阅读 165
收藏 0

bind_param("sssd",$a,$b,$c,$d);

请问这一句是什么意思,sssd什么意思?

加载中
0
南湖船老大
南湖船老大

参数类型

Character Description
i corresponding variable has type integer
d corresponding variable has type double
s corresponding variable has type string
b corresponding variable is a blob and will be sent in packets

http://cn2.php.net/manual/zh/mysqli-stmt.bind-param.php

0
Helloall
Helloall

引用来自“南湖船老大”的评论

参数类型

Character Description
i corresponding variable has type integer
d corresponding variable has type double
s corresponding variable has type string
b corresponding variable is a blob and will be sent in packets

http://cn2.php.net/manual/zh/mysqli-stmt.bind-param.php

d表示为double类型 ,s表示为string类型。

谢谢php大牛

返回顶部
顶部