add post preview and next problem with mysql