I am trying to surround strings in a php array with <p id=para> and </p> here is my code. Nothing happens when I run it.
<p id=para>
</p>
foreach($i=0;$i < count($tags); $i++){ $tags[$i] = "<p id=para>" . $tags[$i] . "<p>";}
Tags is my array of strings.
Aucun commentaire:
Enregistrer un commentaire