PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I'm afraid you haven't told us what your question is. We don't just write code for people. If you have tried to do it and you had a problem, tell us what the problem is. Also, I don't understand what you are even trying to do. "500 records" doesn't mean much when we have no idea what is in each record. Trying to display 500 records of anything in one <td> is probably not going to look very good.
The first 500 records will be displayed in table cell with class 1
thanks for your help
poonam
So you have 4 columns in each row and you want to display the word "Amount" in the first and third columns, and the word "Premium" in the second and fourth columns?? That's what you will get with that code. I'm sorry, but I just can't see what you expect your output to look like.
But even before the layout issues, this sounds like you are doing something with a database that maybe should be simply a formula.