Update paris.php

1.my project has the table name with the prefix.
2.i need to stored result in memcache. 
3.i need to get sorts list.