Re: Not sure where to report this bug
| From: | Martin Jansen | Date: | Fri, 15 Mar 2002 13:02:45 +0000 |
| Subject: | Re: Not sure where to report this bug | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-4983@lists.php.net to get a copy of this message | ||
On Thu, 14 Mar 2002 14:10:15 -0500, Brian Abent wrote:
>db_error Object
>(
> [error_message_prefix] =>
> [mode] => 1
> [level] => 1024
> [code] => -19
> [message] => DB Error: no such field
> [userinfo] => select
>username,user_id,password,name_first,name_last,users.active from users
>where ((upper(username) like upper('%brian%')) or (upper(name_last) like
>upper('%brian%'))) [nativecode=ERROR: Attribute 'name_first' not found
>]
That's no bug in PEAR DB: The code you are using sends a bogus
SQL query to the server. Please see the content of "userinfo"
for the full error message ;-).
- Martin
--
Martin Jansen, <mail@martin-jansen.de>
http://www.martin-jansen.de/