Possible Duplicate:
PHP split alternative?
What would be the command/syntax for replacing the depreciated split in the following syntax:
$frags = split("\/", $the_image_src);
Possible Duplicate:
PHP split alternative?
What would be the command/syntax for replacing the depreciated split in the following syntax:
$frags = split("\/", $the_image_src);
The php docs for split suggest preg_split or explode, which has the same syntax
http://php.net/manual/en/function.split.php
See TIPS. Typically, deprecated functions will give alternatives
EDIT
preg_split("(/)", $the_image_src);