I have a table called user_details
this table has got morethan 100k user details
its index is username
. I want loop through index(username) and save to a text file enclose with <li>
tag (ex: <li>mathew</li>
) by only 10k user names per each file.
the content of text file must be:
<li>mathew</li>
<li>john</li>
<li>ethan</li>
<li>kenan</li>
<li>brandon</li>