Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged php



1 ... 43 44 45 46 47 ... 58
This is a slightly hard core email check. I work for clients that want real email addresses. They pay quite a bit of money so yes, I am going to give what they want...
3 2073 posted 16 years ago by brownrl
Face it! Whenever you make a website/app you always need to make XLS export for the simple people. I mean heaven to betsy if they have to take a csv file, or use phpMyAdmin. So Here are 3 little functions and a sample skeleton that I use fro...
6 2522 posted 16 years ago by brownrl
Some PHP code that can be used to get formatted HTML containing N number of tweets for a given twitter user.
5 2442 posted 16 years ago by gripnrip
this script splits the csv file two times (1. on "new line", 2. on ";") and returns a two dem array in the last for loop.
2 1798 posted 16 years ago by antpaw
This is a good way to validate form input from PHP, in essence this could be a blue print for your forms.
5 2082 posted 17 years ago by brownrl
1 1569 posted 17 years ago by vali29
0 1220 posted 17 years ago by wokon
Construct DateTime object with unix timestamp
0 1570 posted 17 years ago by iloveitaly
0 1305 posted 17 years ago by stancell
Taken from Doug Sparling's Blog
0 1116 posted 17 years ago by roflman79
1 1870 posted 17 years ago by StrawMan
3 1770 posted 17 years ago by iTony
1 1381 posted 17 years ago by Eloi
like array_key_exists but accepts an array of key values to check
0 1218 posted 17 years ago by iloveitaly
2 2214 posted 17 years ago by iloveitaly
2 2113 posted 17 years ago by iloveitaly
More of a setQueryString
0 1494 posted 17 years ago by iloveitaly
2 1822 posted 17 years ago by randyjhunt
Use this function to print out all the rows in a table. Specify columns to show using the columnstring parameter: tablulardata(tablename, columnstring); ie: tabluardata("users","username=Username|fname=First Name|lname=Last Name");
1 1717 posted 17 years ago by kilrizzy
Use this function to pull all columns from a single database field. getrowdata(tablename,rowid,prefix); You would call this function like: getrowdata("users",$_SESSION['user'],"user_"); The prefix is the prefix you want for the array names,...
1 1910 posted 17 years ago by kilrizzy
what was taking an embarrassingly long time in Spry took 2 lines in PHP
0 1735 posted 17 years ago by rwczippy
Enable the use of Custom Fields in Wordpress. This is the code to put into the markup. Related plugin: get-custom-field-values
0 1830 posted 17 years ago by taqin
0 1316 posted 17 years ago by joelambert
This allows you to get contents of any div with ID tag. $matches[0] returns with parent div tag $matches[1] returns with out parent div tag
1 4274 posted 17 years ago by Gustavs
Re: Same Variables, Many Pages Link to this post From
0 1093 posted 17 years ago by petterdr
0 1225 posted 17 years ago by kawikak
1 ... 43 44 45 46 47 ... 58