Have this problem:

I want to check multiple URLs at the same time. All URLs are inside a mysql table like this:
Code: 
megaupload/hsudhusdf
rapidshare/sdjfsdfsd
fileserve/dsjofsjdfsfsd
uploading/asjdasdas as dasd
Each URL in different lines. So what I want to do is to put each URL in a new array value like this:

Code: 
$array[0]=megaupload/hsudhusdf
$array[1]=rapidshare/sdjfsdfsd
...
Any way to do that?

Right now i'm not using database, just manually like this:
Code: 
$urls=array("url1","url2","url")
$i=0;
while ($i< count($urls)) {
//Check if url works or not
if($urls[$i]=works)
echo "<font-colior="green">$urls[0]</font><br>;
else "<font-colior="red">$urls[0]</font><br>;
$i++;
}
But now I want to create a form (created) and insert into database all links (created) now all links are in database but don't know how to separate them

Another issue
Also each piece of code checks if for example megaupload links are working, then another piece of code checks for fileserve links are working... If I put all types of urls at the database, same table, how to separate each file host to pass each piece of code??

Thanks, when all done want to share with you the result...
QuiGloriam Reviewed by QuiGloriam on . Each line like different array element Have this problem: I want to check multiple URLs at the same time. All URLs are inside a mysql table like this: megaupload/hsudhusdf rapidshare/sdjfsdfsd fileserve/dsjofsjdfsfsd uploading/asjdasdas as dasd Each URL in different lines. So what I want to do is to put each URL in a new array value like this: Rating: 5