Reply to Re: SQLite PDO numRows problem

Your name:

Reply:


Posted by Rik Wasmus on 11/20/07 16:59

On Tue, 20 Nov 2007 16:31:28 +0100, Kim <kimslot@gmail.com> wrote:

> I keep getting "function not defined" when trying to get a result
> count on my queries ("numRows()") and dont see a bug report on PHP.net
> on this matter. And yes, my queries DO have results.
> Any idea why I get that message ?
>
>
> I followed example 2332 on PHP.net, but no luck. (http://www.php.net/
> manual/en/function.sqlite-num-rows.php)
> Im using PHP 5.1.4 and SQLite Library 3.2.8undefined (PDO).

PDO? ->
http://nl2.php.net/manual/en/function.PDOStatement-rowCount.php

NOT PDO? ->
It should work as long as either you use $object->numRows() and $object is
of the class SQLiteResult (var_dump() the thing to find out), or with
sqlite_num_rows($result) where $result is a resource (once again,
var_dump() the thing to find out).
--
Rik Wasmus

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация