Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/trwaccess/public_html/framework/pagination.class.php on line 31
Error to fetch the records You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND 1 ORDER BY sortorder, stock_today DESC LIMIT 0, 40' at line 2SELECT ISBN, Title, Author, List_Price, Binding, if(Binding ='PAP', 1, if(Binding='HRD', 2, 3)) as sortorder,stock_today FROM bt_titles WHERE Series_ID=62830 OR ISBN IN (9780786222735,9781594130014,9780439203531,9780439064873,9780545010221,9780439064866,9780545029360,9780545139700,9780786296651,9781594133558,9780439139595,9780439139601,9780786229277,9781594130038,9780439784542,9780439785969,9780439786775,9780439791328,9780786277452,9781594132216,9780439358064,9780439358071,9780439567626,9780786257782,9781594131127,9780439136358,9780439136365,9780786222742,9781581306576,9781594130021)) AND 1 ORDER BY sortorder, stock_today DESC LIMIT 0, 40