Re: Call to undefined function: fetchrow
| From: | Luc de Louw | Date: | Sun, 21 Mar 2004 22:54:46 +0000 |
| Subject: | Re: Call to undefined function: fetchrow | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11431@lists.php.net to get a copy of this message | ||
Lukas Smith wrote:
[..]
Actually, I do not remember why, and I do not really understand what a placeholder ist, but it looks like it is the solution to just ommit $handle and call is like this: $result4 = $handle->query($query); Open questions for me are: - What means a "placeholder" (I had a look at http://pear.php.net/manual/en/package.database.db.db-common.query.php) I I did not understood is (maybe because my english is not that good) - Why it worked with older PEAR:DB version Anyway, Thanks a lot for your really quick help :-) rgds Luc$result4 = $handle->query($query, $handle);why do you pass $handle here? this is why you are getting a mismatch error .. you are passing a prepare parameter without having specified a placeholder in your query