Welcome To Snipplr
Everyone's Recent PHP Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Selecciono los post por categorÃa desde la base de datos de wordpress
0
864
posted 13 years ago by serialk89
Returns the same string, except with links wrapped in <a href=""> tags. Works on www.snipplr.com and on http://snipplr.com
A variation of the script on the attached URL.
0
844
posted 13 years ago by nebojsac
Takes the seconds, and returns minutes. Will wrap it in a function is anyone is interested. Example: 92s -> 1m 32s
0
1170
posted 13 years ago by nebojsac
The function returns the "sanitized" version of user input. Use before putting variables into SQL code.
0
823
posted 13 years ago by nebojsac
This piece of code is at least ten years old and I don't remember exactly, where I have found it. Probably it had been stolen from my friend VeZyR;)
0
782
posted 13 years ago by michaJlS
If you have Zend_Navigation in your application, you will use navigation.xml. This code set the page title ($this->view->headTitle()) with the current page title in navigation.xml.
$navigation->current() doesn't work in my opinion.
0
1003
posted 13 years ago by postNuKe