I'm new to php. I need some help with arrays.
I have a script that is storing some (varies in amount) lines of html (links)
<a href="somedomain.com>Link</a>
<a href="somedomain.com>Link</a>
<a href="somedomain.com>Link</a>
$links = all of those lines
I need to get the first 5 lines....
.. I believe the best way is with an array.....
I don't know how exactly to do this in PHP.
Anyone care to advise on this?
I checked php.net, but unless you know what you are doing, as far as arrays go, it's pretty useless. (good for the rest though)