I've been trying to get for examples rows 100 through 200 from a table of 1000+ rows. I found this snippet online that seems to work perfectly in PHPMyAdmin but when I try to use it in code, it won't work.