Settings
|
Sign in
|
Sign up
Bar
Post
Home
>
Bar PHP
>
View post
Reply the post
|
View author only
There is currently
1
post.
PDO中的exec函數和rowCount函數都可以直接當布爾值用
Floor 1
巨大八爪鱼
6/1/15 12:22
exec的返回值可以用來判斷執行insert,update,deleted語句是否成功。
row count可以用來判斷記錄集是否為空。
Content converter:
No conversion
Mainland
Taiwan
Hong Kong
Singapore
Reply the post
Content:
User:
You are currently anonymous.
Captcha:
Unclear? Try another one.