if you want you can just do it like this:
code:
<?php
$c = file_get_contents('./ads.txt');
preg_match_all('/\s*"text"\s*"([^"]*)"/',$c,$m);
echo "<ol>";
for($i=0;$i<count($m[1]);$i++){
echo "<li>".$m[1][$i]."</li>";
}
echo "</ol>";
?>
its a better way of doing the list, and maybe a little safer with the finding of the text [=