Closed bhaweshchandola closed 9 years ago
Agreed, placing the same code 3-4 times makes it difficult to spot and erase the duplicate work with all the html formatting, and change it back to single with loops. The loops should have been constructed the first time and run like 3-4 times depending upon intended purpose.
yes varun is absolutely right. so to explain to how it will be done i have worked a prototype. just take a look at this and work accordingly.
i noticed in most of the pages that you've written the code more than it is required like: (i am not pointing out this one in particular). now the thing is rather than writing this part again and again. you should construct a loop which will work until there is data available in database.