List Info

Thread: note 78055 added to function.PDOStatement-rowCount




note 78055 added to function.PDOStatement-rowCount
user name
2007-09-26 00:19:10
With a SELECT query rowCount() shouldn't be used anyway. 
->fetchColumn() was used in the example for a SELECT.

A rowCount() should be used after executing a query that
changes information in the database, such as UPDATE, DELETE,
etc.
----
Server IP: 209.41.74.194
Probable Submitter: 72.193.228.170
----
Manual Page -- http://www.php.net/manual/en/function.PDOStatemen
t-rowCount.php
Edit        -- https://master
.php.net/note/edit/78055
Del: integrated  -- h
ttps://master.php.net/note/delete/78055/integrated
Del: useless     -- http
s://master.php.net/note/delete/78055/useless
Del: bad code    -- htt
ps://master.php.net/note/delete/78055/bad+code
Del: spam        -- https:/
/master.php.net/note/delete/78055/spam
Del: non-english -- 
https://master.php.net/note/delete/78055/non-english
Del: in docs     -- http
s://master.php.net/note/delete/78055/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/78055
Reject      -- https://mast
er.php.net/note/reject/78055
Search      -- https://
master.php.net/manage/user-notes.php

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )