lmcdougall


Member since 09/13/2007

9 snippets

5838 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet popular snippet:having a snipplet with 20 favorites

lmcdougall's Recent Snippets



« Prev 1 Next »
1 774 posted 17 years ago by lmcdougall
17 5099 posted 17 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 5093 posted 17 years ago by lmcdougall
2 892 posted 17 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 1083 posted 17 years ago by lmcdougall
2 1037 posted 17 years ago by lmcdougall
« Prev 1 Next »