Welcome To Snipplr


Everyone's Recent Snippets



1 ... 514 515 516 517 518 ... 553
1 983 posted 18 years ago by JuliaKM
this goes under src/main/resource/META-INF/persistence.xml
0 1249 posted 18 years ago by thebugslayer
0 1051 posted 18 years ago by thebugslayer
0 1033 posted 18 years ago by joaocosta
Removes the core, and node styles from the $style variable. You most morbably already defined _phptemplate_variables($hook, $vars), in that case just add the two lines there. _sympal_theme.. is the name of the theme where we use this.
3 1556 posted 18 years ago by berkes
2 1326 posted 18 years ago by JuliaKM
This allows you to replace the bog standard browser button (form buttons) with any image you wish.
9 2532 posted 18 years ago by 1man
Last Modified: 09/19/2007
0 1521 posted 18 years ago by wintondeshong
3 1397 posted 18 years ago by tonluong
For creating forms without using tables, just CSS.
2 1705 posted 18 years ago by andyhartleeds
1 1174 posted 18 years ago by lmcdougall
3 1414 posted 18 years ago by lmcdougall
17 9618 posted 18 years ago by lmcdougall
Ej: $ziper = new zipfile(); $filename1 = 'images/imagen1.jpg'; $filename2 = 'images/imagen2.jpg'; $fileZip = 'images/imagen.zip'; $ziper->addFile(file_get_contents($filename1),$filename1); $ziper->addFile(file_get_contents($filename2),$filename...
22 9599 posted 18 years ago by lmcdougall
2 1314 posted 18 years ago by lmcdougall
A quick and simple way to search a MySQL database. Example: mysql_search('items', 'title tags', isset($_GET['q'])?$_GET['q']:'', Array('columns'=>'*', 'method'=>'OR', 'extra_sql'=>'AND active = "true" ORDER BY id DESC'));
5 1531 posted 18 years ago by lmcdougall
2 1667 posted 18 years ago by lmcdougall
2 1236 posted 18 years ago by micmath
Script takes links that are not on your domain and opens them in a new window. This code allows for XHTML strict validation and meets Accessibility criteria on opening new windows.
5 1858 posted 18 years ago by skatan
1 ... 514 515 516 517 518 ... 553