Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

slug in php

$slug = strtolower(trim(preg_replace('/[^A-Za-z0-9-]+/', '-', $string)));
 
PREVIOUS NEXT
Tagged: #slug #php
ADD COMMENT
Topic
Name
3+6 =