PHP Snippets

Every PHP developer needs a good and reliable collection of code snippets. In this category, you will find 900+ copy and paste code snippets that will help in your next PHP project.

Results via Envato Market

I found a tutorial that did basic pagination but wound up with lines of page numbers at the top amp bottom of the page yikes This pagination script is similar

function that returns the numeric key of the array given the value, usefull when ‘walking’ thru arrays in multiple files…

This class is in its very early stages of developing and knows a limited number of RTF control words It can convert them to html or xml no dtd just

php Passphrase Generator Many encryption programs require passphrases for successful encryption Most users do not choose strong enough passphrases so they program cannot provide a strong encryption phpPPG generates passphrases

This script simulates a spreadsheet using any MySQL table with columns fields The first column must be an auto increment integer named quot id quot but the rest you can