Re: db::Creat Table
| From: | Tobias Nix | Date: | Sun, 15 Apr 2001 12:52:52 +0000 |
| Subject: | Re: db::Creat Table | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-57@lists.php.net to get a copy of this message | ||
> get errors, but also an created table demo_table.
hello,
i #ve made this changes on my local copy:
-----------------------------------------------------------------------
RCS file: /repository/php4/pear/DB/mysql.php,v
retrieving revision 1.55
diff -r1.55 mysql.php
313c313
< if ($rows === null) {
---
> if (($rows === null) && (@mysql_errno($this->connection) != 0)) {
-----------------------------------------------------------------------
now i don't get back an errorobject.
is this the right way ?
greets
tobias.