Posted By

landonmiller on 02/02/11


Tagged


Versions (?)

Explode


 / Published in: PHP
 

  1. $pieces = explode(",", $pizza);
  2. $count = count($pieces);
  3.  
  4. for ($i = 0; $i < $count; $i++) {
  5. echo " . $array['$i'] . ";
  6. }

Report this snippet  

You need to login to post a comment.