Hey Ty & all,

Yes, rowCount() worked, and thanks for the 
reference to the podstatement.php page.

But why did so much documentation I found on the 
web use numRows()?

What is the difference between the PDOStatement 
set of functions and the set to which numRows() 
belongs to?

Different versions of SQLite?

Thanks again,
Skip

Ty wrote:
> Skip Evans <[EMAIL PROTECTED]> writes:
> 
>> But when it runs I get the following error:
>>
>> Call to undefined method PDOStatement::numRows()
>>
>> All the documentation I see on SQLite shows this 
>> as a valid method.
> 
> 
> 
> 
> If I'm reading correctly, $result is of type PDOStatement.  From the
> documentation, it doesn't look like numRows is a function on that object...
> 
> http://us.php.net/manual/en/class.pdostatement.php
> 
> I would try $result->rowCount() and see if that gets you what you need. (The
> docs for that function claim it doesn't work for all types of databases... I
> don't know how it works with sqlite).
> 
> ~Ty
> 
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> 

-- 
Skip Evans
Big Sky Penguin, LLC
503 S Baldwin St, #1
Madison, WI 53703
608-250-2720
http://bigskypenguin.com
=-=-=-=-=-=-=-=-=-=
Check out PHPenguin, a lightweight and versatile
PHP/MySQL, AJAX & DHTML development framework.
http://phpenguin.bigskypenguin.com/
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to