Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function replaceAll($charToReplace, $string) {
- $result = strtolower(preg_replace("/[$charToReplace]/", '', $string));
- return $result;
- }
- //masukin ke model CI
- cara panggilnya
- $this->etc->replaceAll("\s+\/&@#$%", $courseName);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement