PHP, move to next item on list
<p>So I'm making a script where a user can check whether a website is up, I have the website checking part, but now I need to figure out the part where it actually reads a list.  </p>

<p>It is annoying for a user having to enter one website at a time, so I want to take the time to make it so a user can do something like this, they can put in a long list of websites, they will each be individually read, and marked online, or offline.  </p>

<p>Example:</p>

<blockquote>
  <p>google.com</p>
  
  <p>facebook.com</p>
  
  <p>yahoo.com</p>
</blockquote>

<p>The only thing I need help with, is how can I make it loop through each line?  It checks one line, and then moves to the next.</p>

<p>Thanks!</p>
