摘要:
update test set priority=(case when id=1 then (select priority from test where id=2) when id=2 then (select priority from test where id=1) end) where id=1 or id=2; 阅读全文
摘要:
function RemoveXSS($val) { // remove all non-printable characters. CR(0a) and LF(0b) and TAB(9) are allowed // this prevents some character re-spacing such as // note that you have to handle splits with \n, \r, and \t later since they *are* allowed in some // inputs $val = p... 阅读全文