Convert string to slug and other custom string functions
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...
View ArticlePHP list files in directories
PHP has some great functions to handle files withing a specified directory. The following custom functions and code examples show how to use them is real cases. Write filenames from a directory to...
View ArticlePHP dynamic form elements
In a previous we explained how to use PHP to create a dynamic SELECT menu. The same way it’s possible to use PHP to create other form elements. Create a radio group with PHP Creating radio elements in...
View Article3 methods to tweak your MySQL database result pages
Most people use PHP and MySQL together and there are several reasons to do so: It’s easy, fast and powerful! If you create a MySQL database result, the data is not formatted and looks ugly. The...
View Article