Im just starting out using pear, and since my host doesn't use it, I decided to upload the pear directory from my computer (win) to my home directory on the server (lin) and set it as a default include directory (through the .htaccess file)..
I include 'DB.php' (which is all you are supoposed to from what I gather) and it seems to work ok until I try to use the result. The result is an object so I can't just dump the values..
According to every tutorial, fetchRows() and numRows() are a function of the result.
$res = $db->query("select * from names");
$row = $res->fetchRows(); // fetchrows doesnt exist.
can I do a direct copy like this?? is this bad?? how else can I get the result?
tia.