$fp=file("filename");
foreach($fp as $line)
{
echo '<a href="http://example.com/'.$line.'/something/">'.$line.'</a>';
echo "<br>";
}
0
solved How to convert TXT file contents to URL’s using PHP? [closed]
$fp=file("filename");
foreach($fp as $line)
{
echo '<a href="http://example.com/'.$line.'/something/">'.$line.'</a>';
echo "<br>";
}
0
solved How to convert TXT file contents to URL’s using PHP? [closed]