Welcome To Snipplr
Everyone's Recent PHP Snippets Tagged php
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This was taken out of a presentation by eZ systems on PHP Best Practices
0
750
posted 16 years ago by luizlopes
this function was provided to me by my partner in crime......thanks superchicken
0
668
posted 16 years ago by bsisco
Any time I make PHP applications that interact with a database, I use this script. It generates one or more self-populating "View Objects" (a class that represents a single record from a DB). For example, rather than access a MySQL record-set by arra...
1
953
posted 16 years ago by donkawechico
Very minimal. Some homegrown API seeds from a while ago. Just posting for use as some php examples.
0
774
posted 16 years ago by mandric
Este script calcula la edad en años a partir de una fecha dada y la resta con la actual.
0
752
posted 16 years ago by isaac
Fecha en formato dd/mm/yyyy o dd-mm-yyyy retorna la diferencia en dias
0
920
posted 16 years ago by isaac
This changes the date format from y-m-d to d-m-y on PHP. It's easy to change the - to / or spaces...
0
1128
posted 16 years ago by isaac
This changes the date format from d-m-y to y-m-d on PHP. It's easy to change the - to / or spaces...
1
1346
posted 16 years ago by isaac
This function can validate and parse UK postcode like SW1A 1AA in to formated array.
2
1399
posted 16 years ago by naz