Re: function fetchRow [Fwd: PEAR installation]
| From: | Justin Patrin | Date: | Sun, 13 Mar 2005 03:53:13 +0000 |
| Subject: | Re: function fetchRow [Fwd: PEAR installation] | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-18011@lists.php.net to get a copy of this message | ||
On Sat, 12 Mar 2005 23:45:39 +0100, foxmask <foxmask@gmail.com> wrote:
> Hi,
> strangely ; the fetchRow function is not recognise ; so i tried getAll
> and then everything work fine.
> i can provide the main code if necessary.
fetchRow() is used on results as such:
$sth = $db-query('SELECT * FROM table');
while ($rec = $sth->fetchRow()) {
print_r($rec);
}
>
> Kind Regards.
>
> --
>
>
>
> ---------- Forwarded message ----------
> From: foxmask <foxmask@gmail.com>
> To: pear-general@lists.php.net
> Date: Sat, 12 Mar 2005 20:03:34 +0100
> Subject: PEAR installation
> Hi,
> i would like to know the way to install PEAR when the provider just give
> us the $_SERVER['DOCUMENT_ROOT'] to install everything : lib and
> website content ?
> i've try to upload all the PEAR directory and made a database access but
> failed with an error :
> unknow function fethRow !?!? (which is, like everyone knows, provide by
> DB.php)
>
--
Justin Patrin