explode.php

<?php
  $pizza = "anchois oignons tomate rucchetta";
  $pieces = explode(" ", $pizza);


for($i=0;$i<count($pieces);$i++){
  print("Pizza garniture " .($i+1)  ."-- ".$pieces[$i]."<br>");
}
echo "<hr>";
show_source("explode.php");
?> 
 
info/explode.txt · Dernière modification: 2008/11/11 11:37 (modification externe)
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki