Advertisement
Guest User

Untitled

a guest
Oct 8th, 2015
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. $ary =explode("\n", $s);
  2.  
  3.  
  4.  
  5.  
  6. $count_ary = count($ary);
  7. for($i=0;$i<$count_ary;$i++){
  8.  
  9. $ary_resuit=array(substr($ary[$i],1,7));
  10.  
  11.  
  12. echo'<pre>';print_r( $ary_resuit);echo '</pre>';
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement