MySQL result resource

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

 



hello,
i have a new issue... :-)
i am getting:
Warning: Supplied argument is not a valid MySQL result resource in /users/infoserv/web/register/ca/admin/catads.php on line 54

from:
<?
while($row = mysql_fetch_object($obj))
{
$scobj = mysql_db_query($dbname,"select * from subcategory where id=$row->subcategory");
$scrow = mysql_fetch_object($scobj);
$cobj = mysql_db_query($dbname,"select * from category where id=$scrow->category");//54
$crow = mysql_fetch_object($cobj);
?>


any ideas, of course, are most appreciated. thank you and best, addison
--
Addison Ellis
small independent publishing co.
114 B 29th Avenue North
Nashville, TN 37203
(615) 321-1791
addison@bellsouth.net
info@smipco.com
subsidiaries of small independent publishing co.
info@gloabaldog.com
info@momandpocentral.com

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

  Powered by Linux