Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged html



2 1360 posted 14 years ago by relish
This strips out any html tags (like paragraph tags) from the excerpt in WordPress.
0 1087 posted 15 years ago by nonsalant
I wrote this little bit of code myself so if you see where you can improve on it, let me know. This is great for making complex menu's and also for making sure your POST data gets saved and reselected when the screen refreshes. I use it in all my pro...
0 1811 posted 15 years ago by geilt
0 1015 posted 15 years ago by newsok
If you're ever bothered by CakePHP's limited breadcrumbs support for displaying them use this to build your own!
2 1423 posted 15 years ago by stolkchris
Display any rss feed as html in wordpress
0 1139 posted 15 years ago by richerimage
Turn a html source into a full text document by removing all html tags and other unneeded code.
0 1407 posted 15 years ago by math89
1 3157 posted 15 years ago by gilbitron
This took me a while to create so thought I would share. Can be used with <a href="http://www.textfixer.com/resources/country-dropdowns.php">HTML dropdown lists</a>.
1 2296 posted 15 years ago by gilbitron
1 1941 posted 15 years ago by ptejada
0 2390 posted 15 years ago by silverius
## PHP - HTML Generation Class This class allows you to generate (and fill) any HTML elements via programmatic or object-orientated methods
0 1500 posted 15 years ago by minky
A simple script to run with [drush](http://drupal.org/project/drush) to clean all Drupal nodes containing style tags.
1 1363 posted 15 years ago by mongolito404
Aimed at designers who want to sprinkle in a little PHP to make development easier. If building/prototyping a site with HTML/PHP, this can save time by constructing the navigation list on the fly, based on re-usable navigation settings. Usage: Ass...
0 1064 posted 15 years ago by rareyman
This PHP class lets you clean and repair html code. WHAT IT DOES: delete closed tags without their opening tag, fix open tag without close, closing them automatically, check bad nesting and fix them, fix bad quotes in attributes, merge different styl...
2 4118 posted 15 years ago by ginoplusio
Insert email in wordpress theme whit cryptX plugin active
0 1201 posted 15 years ago by toro999
Insert admin menu in wordpress widget when you are logged
0 1204 posted 15 years ago by toro999
Insert banner image in wordpress page theme
0 1256 posted 15 years ago by toro999
1 1760 posted 15 years ago by ginoplusio
Modified version of the script created by Dave Stevens, Enables the user to input their credentials on a webpage rather than having to change the actual php script code. Changes: Changed $user,$pass,$term This is a modified script, the original...
0 1657 posted 15 years ago by jonathonmaguire
A PHP class that creates html controls
1 1391 posted 15 years ago by mpcircuitry
This is an regular expression to match an HTML Tag from a given input.
0 1397 posted 15 years ago by rupakdhiman
Do you every wanted to clean and perfectly intent your xhtml document?
1 1222 posted 16 years ago by tillkruess
This example uses file_get_contents to retrieve remote HTML. From there, we can parse through it using PHP5's DOMDocument and DOMXpath. XPath Queries are easy to create using the Firefox extension "XPather"
3 2854 posted 16 years ago by adamcoulombe
Very easy to use and helps keep browsers from jumbling your email up.
0 1147 posted 16 years ago by dmautz1