Re: [PHP] Non-Object errors

2009-04-28 Thread Jan G.B.
2009/4/28 Miller, Terion tmil...@springfi.gannett.com: Can someone help with how to make this work, trying to get the number of rows but am getting the trying to get property of non-object Code- $query = select blah, blah, blah from table where .$type. like '%.$name.%';

Re: [PHP] Non-Object errors

2009-04-28 Thread Miller, Terion
On 4/28/09 11:23 AM, Jan G.B. ro0ot.w...@googlemail.com wrote: 2009/4/28 Miller, Terion tmil...@springfi.gannett.com: Can someone help with how to make this work, trying to get the number of rows but am getting the trying to get property of non-object Code- $query =

Re: [PHP] Non-Object errors

2009-04-28 Thread Lex Braun
Terion, On Tue, Apr 28, 2009 at 1:14 PM, Miller, Terion tmil...@springfi.gannett.com wrote: Here is my code now: $query = select name, age, warrant, bond, wnumber, crime FROM warrants where .$warranttype. = .$warranttype. OR .$searchname. = .$searchname. ;$result =

Re: [PHP] Non-Object errors

2009-04-28 Thread Miller, Terion
On 4/28/09 12:27 PM, Lex Braun lex.br...@gmail.com wrote: Terion, On Tue, Apr 28, 2009 at 1:14 PM, Miller, Terion tmil...@springfi.gannett.com wrote: Here is my code now: $query = select name, age, warrant, bond, wnumber, crime FROM warrants where .$warranttype. = .$warranttype. OR

Re: [PHP] Non-Object errors (RESOLVED)

2009-04-28 Thread Miller, Terion
Thanks folks!! On 4/28/09 12:30 PM, Miller, Terion tmil...@springfi.gannett.com wrote: On 4/28/09 12:27 PM, Lex Braun lex.br...@gmail.com wrote: Terion, On Tue, Apr 28, 2009 at 1:14 PM, Miller, Terion tmil...@springfi.gannett.com wrote: Here is my code now: $query = select name, age,