Mega Code Archive

 
Categories / Php / Data Type
 

Explode() function divides string into various elements, returning these elements in an array

The syntax is: array explode (string separator, string string [, int limit]) <? $info = "A|b|i"; $user = explode("|", $info); print $user; ?>