PHP beginner |
|
<?php
$website = "http://www.website.nl, http://www.domein.nl";
$site = explode(', ', $website);
$i = 0;
while ($i < count($site))
{
echo "<a href=\"".$site[$i]."\">".$site[$i]."</a><br>";
$i++;
}
?>
<?php $website = "http://www.website.nl, http://www.domein.nl"; $i = 0; while ($i < count($site)) { echo "<a href=\"".$site[$i]."\">".$site[$i]."</a><br>"; $i++; } ?>
|