Category Archives: PHP

Php Recursive Directory Copy

 

Php Form To CSV

How To Get Mysql Column Names

How To Get Mysql Field Names Short Version

PHP Pagination – Array Chunk Pagination

PHP Array Chunk Pagination – array_chunk

PHP List Files in Directory Excluding Index

PHP List all files in a directory excluding the index file from the list.

Functions used are array_values, preg_grep, glob, foreach and basename.

Another option using str_replace and !empty

PHP US State Dropdown Array

PHP State Dropdown Array Demo


Complete PHP State Dropdown Array Form

PHP Automatic Logout – Auto Logout

This PHP function automatically logs out a user after a specified amount of inactivity.

Usage: Add this PHP code to the top of your pages

Php Insert Form Array