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