PHP_important_method
echo strripos("abc.txt_19909","_");
last index of _ will given....
substr("abc.txt_19909",0,strripos("abc.txt_19909","_"));
$Path=substr($data['image_path'],0,strripos($data['image_path'],'_'));
echo strripos("abc.txt_19909","_");
last index of _ will given....
substr("abc.txt_19909",0,strripos("abc.txt_19909","_"));
Comments
Post a Comment