select * from redirects where fromurl = 'http://www.darlingduckspreschool.co.za/templates/quick/js/'+a+'' and websitesid = '43' and enabled = 1