query works fine on console but not with PHP - why?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi guys,
 
I have the following query which returns FINE through the console but
not in PHP
 
 
select t.id, t.colour, t.colourID, t.price, t.type, g.thread_index,
g.groupNameUrl FROM kcs_threads t LEFT JOIN kcs_threadgroups g ON t.id =
g.thread_index WHERE g.groupNameUrl = '0-500'
 
 
The error I am getting on the browser is:
 
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL
result resource in http://www.martekbiz.com/KCS/utils.inc on line 52
 
 
 
Anyone have an idea as to what it up?
 
Thanks!
 
Aaron

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux