added php testcase on table pagination for sql