public marks

PUBLIC MARKS from talou with tags php & mysql

08 December 2005 08:30

Dans le genre quick and dirty: array2insert - Digital Fashion

<?php function array2insert($array, $table, $map = 'mysql_escape_string') { if (!is_callable($map)) { $map = create_function('$a', 'return $a;'); } $q = ''; $q .= 'INSERT INTO ' . $table . ' ('; $q .= implode(', ', array_keys($array)) $q .= ') VALUES(''; $q .= implode('', '', array_map($map, $array)); $q .= '')'; return $q; } ?>

talou's TAGS related to tag php

** +   *** +   **** +   3d +   ajax +   api +   astuces +   blog +   blogs +   bots +   c++ +   calendar +   class +   client +   cms +   code +   collaboration +   compiler +   cpp +   css +   desktop +   dev +   documentation/en +   documentation/fr +   dom +   editeur +   extensions +   flash +   forums +   framework +   free +   generator +   google +   googlemaps +   groupware +   gtk +   ical +   jabber +   java +   javascript +   js +   libs +   liens +   linux +   littérature +   maps +   mozilla +   mysql +   ooo +   openformats +   pdf +   pear +   phpgtk +   planets +   python +   reseau social +   ressources +   richclients +   ror +   ruby +   samples +   schmurz +   server +   share +   software +   svg +   syndication +   techno +   tools +   tutos +   web +   web2 +   webdesign +   webdev +   webtools +   wiki +   wikipedia +   windows +   world +   xml +   xmlhttprequest +   xmpp +   xslt +   xul +   yahoo +