Quantcast
Channel: PHP code | Tutorial Depot
Browsing all 5 articles
Browse latest View live

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 Article


PHP 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 Article

PHP 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 Article

3 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

Please read this first…

View Article

Browsing all 5 articles
Browse latest View live