Quantcast
Channel: PHP code | Tutorial Depot
Viewing all articles
Browse latest Browse all 5

Convert string to slug and other custom string functions

$
0
0
Recently I needed a function to convert a company name into a slug. As an example this slug is for the URL of a customer detail page. Since those names (the customer database table has more than 1300 records) contains special characters like “é” or “ë”, I needed a function that can handle this too. A quick Google … Continue reading Convert string to slug and other custom string functions

Viewing all articles
Browse latest Browse all 5

Trending Articles