Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged html



« Prev 1 2 3 4
With this snippet you will have the ability to display the `<DOCTYPE>` while sending the correct headers with support for content type negotiation. It also will correct itself for the W3C validator which does not send the correct Accept header for...
0 12710 posted 5 years ago by daemondevin
Se puede escribir código HTML sin problema insertando además las variables php que se necesiten dentro del propio "relleno"
0 1323 posted 9 years ago by tionazo
Simple script to send SMS throught our HTTP API (Afilnet) with PHP. Steps: 1.- Register in Afilnet. http://www.afilnet.com/anunciante/registrar.php 2.- Login and get credits (10 free) to send SMS 3.- Use this script or html form example include in...
1 1171 posted 10 years ago by Afilnet
Use PHP's DOM parser to convert a table into plain text (including links with images)
0 1855 posted 10 years ago by nigelnquande
This function takes HTML input and converts it to plain text. It needs improvement so that it converts multiple blank lines to a single blank line and converts an &lt;a ... &gt; link to the markup equivalent (same for images). It should be rewritten...
0 1266 posted 10 years ago by nigelnquande
In this article I would like to share how to make a sortable index view with Laravel 4. Let’s assume you have an index view with a table. Like this example for a table that contains posts.
0 915 posted 11 years ago by CreativePunch
How to build a login form using php with mysql database.
0 1122 posted 11 years ago by codingforever99
/** * THIS FUNCTION WILL RENDER A CONTAINER OR SELF-CLOSING HTML ELEMENT. * IT AUTO DETECTS WHAT TYPE YOU WANT * BASED ON RATHER OR NOT YOU SET A _data KEY IN THE ARRAY OF * ATTRIBUTES PASSED TO THE FUNCTION * * USING AN ASSOCIATIVE ARRA...
0 1066 posted 12 years ago by halk
Replaces all links within href part of anchor in a HTML-String.
1 4159 posted 13 years ago by rwunsch
gfgd dg fgfg fg g
0 631 posted 13 years ago by vijendramisra
0 775 posted 13 years ago by bubaphex
0 824 posted 13 years ago by Jotape
Sometimes a legacy database will have HTML entities stored in it. This function converts them. Note that this function assumes you have a database abstraction layer, and may need to be modified to connect to YOUR database.
0 2432 posted 13 years ago by f6design
0 1353 posted 13 years ago by kspal
Add code to theme functions.php file.
0 1166 posted 13 years ago by Huskie
Here you see a example to make your table background color fdifferent at last
0 1073 posted 13 years ago by Darksider3
It’s been driving me crazy that there’s no definitive script written to take out a user’s Flickr recent photos and parse it for formatting into HTML with a larger size than the standard 75 x 75 dimensions that the public_photo.gne Flickr script...
1 1110 posted 13 years ago by jakekimpton
Twitter have changed their api, and using the old twitter.com?status=… doesn't work anymore. This uses the new 'Web Intents' method.
0 811 posted 13 years ago by adamturtle
Come rendere uppercase un textbox senza bisogno di js
0 999 posted 13 years ago by tuffo19
Place this at the top of your php files. This will remove white space and formatting from HTML, making it smaller and faster for download by your users.
0 905 posted 13 years ago by trusktr
0 878 posted 13 years ago by LemonPro
strip html on loop
0 742 posted 13 years ago by zealmurapa
Pertenece al tutorial publicado por COLORATE --> http://www.colordeu.es/BLOG/registros-de-usuario-en-php-y-mysql-con-validacion-de-campos-y-activacion-por-mail
0 1520 posted 14 years ago by danideu
Pertenece al tutorial publicado por COLORATE --> http://www.colordeu.es/BLOG/registros-de-usuario-en-php-y-mysql-con-validacion-de-campos-y-activacion-por-mail
0 1259 posted 14 years ago by danideu
Pertenece al tutorial publicado por COLORATE --> http://www.colordeu.es/BLOG/registros-de-usuario-en-php-y-mysql-con-validacion-de-campos-y-activacion-por-mail
0 1373 posted 14 years ago by danideu
0 721 posted 14 years ago by kendsnyder
There seems to be many scan directory systems but I could not find one that works the way I needed. I added in functionality for a search filter and an ignore list. The search filter and ignore list can ignore by extension, file (case-sensitive file...
1 1287 posted 14 years ago by SoN9ne
« Prev 1 2 3 4