Hi all . i got this php script that outputs video ids. i wonder how i can use those values inside html and out put a hyperlink for each video id ? i want to create
links like this:


<a href="./process.php?Id=68223&title=MovieName Episode 1">MovieName Episode 1</a> <br />

where Id= value is $url1 and title= will be passed value to php and episode number be the index of array

Hope you guys help me .Thanks

PHP Code:
<?PHP 
 
$url 
"http://www.somesite.com/wow.html"
$input = @file_get_contents($url) or die("Could not access file: $url"); 

$regexp "<a\s[^>]*href=\"View.asp(\"??)([^\" >]*?)\\1[^>]*>(.*)<\/a>";


if(
preg_match_all("/$regexp/siU"$input$matches)) 


$url=str_replace('?ID='''$matches[2]);


print_r($url1);



?>