how to insert row-by-row of content in a textfile into a mysql database?
<p>i have a textfile that contains content like this</p>

<pre><code>bob
james
diva
games
library
info
</code></pre>

<p>and i was wondering how i can write a php script that would read the file line by line and insert the data into the database line by line as a new row for each line?</p>

<p>thanks</p>
