Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged list



« Prev 1 2
List only certain files in a folder with PHP Lists only certain files extensions as links on a page from a defined folder
0 1264 posted 5 years ago by martinbrait
php list all files of a given directory
0 1152 posted 5 years ago by martinbrait
php selection list of french departments
0 1355 posted 5 years ago by martinbrait
php list files and directories beginning with .... 1 paramètre d'entrée
0 1266 posted 5 years ago by martinbrait
This is the basic code that you need to know to connect and list data with PDO. Don't use de old method (mysql_connect and mysqli_connect) to connect and interact with databases.
0 1105 posted 9 years ago by snstro
Here's a country list with continent and country by country code!
0 1385 posted 11 years ago by kilise
Lists only certain files extensions as links on a page from a defined folder
1 1668 posted 11 years ago by kidmizere
The following codes populate the country list into dropdown box based on browser's languages. The country information is getting from geolocation.com
0 963 posted 11 years ago by Hexahow
list all files in directory and subdirectory
1 973 posted 12 years ago by ne7son
0 641 posted 12 years ago by paul0078
Enter any suspicious IP address that you wanted to check into the form field and press the "LOOKUP" button
1 2573 posted 12 years ago by DNSBL
0 752 posted 13 years ago by raz
3 795 posted 13 years ago by xhiena
Different formats for listing states.
0 935 posted 13 years ago by MikeNGarrett
his code will show the child pages, and only the child pages, when on a parent or on one of the children. This code will not work if placed after a widget block in the sidebar.
1 838 posted 13 years ago by raz
List WordPress subpages and include parent
0 759 posted 13 years ago by raz
0 762 posted 14 years ago by sorinspanu
1 797 posted 14 years ago by nveselinov
0 798 posted 14 years ago by resting
1 767 posted 14 years ago by resting
Gets the date, pulls a list of upcoming events (posts from cat 6) and sorts by custom field \\\"event_date\\\" . Add to sidebar via [PHP Code Widget](http://wordpress.org/extend/plugins/php-code-widget/).
0 943 posted 14 years ago by hussong
0 952 posted 14 years ago by iloveitaly
This PHP code snippet checks each integer in an array. If necessary, one or more leading zeros are added to an integer. Note that each integer becomes a string.
2 852 posted 14 years ago by DADU
1 822 posted 14 years ago by iloveitaly
Türkçe ülkeler listesi
0 746 posted 14 years ago by metoikos
0 702 posted 14 years ago by giak
0 775 posted 14 years ago by Zwendel
« Prev 1 2