select id, url, name, guideurl, guidelink, guidetitle, guidemetadescription, dirtitle, dhtmltitle, htmldesciption, metadescription, keywordsdesc, categorydesc, htmldesciption, practicetesturl, toppagelinks, examid, examtext1, examtext2, examimage from categories where url=? and enabled is not null
field (s) = Management-Testing
select id, name, url, guideurl, guidelink, guidecontent, guidebox, guidetitle, ghtmltitle, htmldesciption, keywordsdesc, tabletitle, what, who, wherefield, whenfield, how, type, why, time, language, preparation, cost, guidemetadescription, guidekeywordsdesc, guidedescription, practicetesturl, toppagelinks from categories where guideurl=? and enabled is not null
field (s) = Management-Testing
select distinct adid, link, image, imgtitle, imgalt, rank, showgoogle from adsdesc where status is null and categoryid=990 union all select distinct adid, link, image, imgtitle, imgalt, rank+200, showgoogle from adsdesc where status is null and parentid=990 union all select distinct adid, link, image, imgtitle, imgalt, rank+300, showgoogle from adsdesc where status is null and rootid=990 union all select adid, link, image, imgtitle, imgalt, rank+100, showgoogle from ad where status is null and rank is not null order by rank limit 10
select linkname, url, template, examid, viewid, pageid from categorylinks where catid=990 order by posn

PHP Error
Error number 8: Undefined variable: link_cnt
Line 54 of /home/testdeveloper/secure_html/Alp/classes/Advertisements.php

select id, pagedataid from categories where id = 990
select p.id, p.template from categories c, pagedata p where c.pagedataid=p.id and c.id=
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 '' at line 1
select name, value from publiccontent where page='All Pages' or page='All Pages'