Hi, I am not even remotely qualified to help you very much but I do know that you can limit your MySQL queries using a function- here is a snippit of a tutorial I downloaded. It might provide some insight into part 1 of your question:
One function, called LEFT, lets us tell MySQL to display up to a maximum of some specific number of characters when displaying a column. For example, let's say we wanted to see only the first 20 characters of the JokeText column:
mysql> SELECT ID, LEFT(JokeText,20), JokeDate FROM Jokes;
|+----+----------------------+------------+|
ID | LEFT(JokeText,20) | JokeDate
|+----+----------------------+------------+
|1 | Why did the chicken | 2000-04-01
|+----+----------------------+------------+
1 row in set (0.05 sec)
the original JokeText column said" Why did the chicken cross the road?" and using the LEFT function you can limit your queries. Now getting that into PHP...I can not help you with. 🙁