Explode,php

Ron 10/11/2016 0

Explode in PHP

PHP
<?php 
$pizza = "piece1 piece2 piece3 piece4 piece5 piece6"; 
$pieces = explode(" ", $pizza); 

$data = "foo:*:1023:1000::/home/foo:/bin/sh"; 
list($user,$pass,$uid,$gid,$gecos,$home,$shell) = explode(":",$data); 
?>
 

Report Bug

Please Login to Report Bug

Reported Bugs

Comments

Please Login to Comment

Comments