Warning: mysqli_error() expects exactly 1 parameter, 0 given in /home7/voiceweb/public_html/common/class/system.dbeng.php on line 61

SELECT IFNULL((SELECT id FROM m_voiceweb_careers WHERE pubDate='' AND id> ORDER BY id ASC LIMIT 0,1),(SELECT id FROM m_voiceweb_careers WHERE pubDate>'' ORDER BY pubDate ASC LIMIT 0,1) ) AS nextId , IFNULL((SELECT id FROM m_voiceweb_careers WHERE pubDate='' AND id< ORDER BY id DESC LIMIT 0,1),(SELECT id FROM m_voiceweb_careers WHERE pubDate<'' ORDER BY pubDate DESC LIMIT 0,1) ) AS prevId