lmcdougall


Member since 09/13/2007

5 snippets

4329 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 SnippetsTagged php



« Prev 1 Next »
3 738 posted 16 years ago by lmcdougall
3 702 posted 16 years ago by lmcdougall
17 3840 posted 16 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 3795 posted 16 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 827 posted 16 years ago by lmcdougall
« Prev 1 Next »