Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 148 149 150 151 152 Next »
Fetch a list of tables in a specific database.
7 158 posted 14 years ago by neogeek
Fetch a list of available databases.
7 163 posted 14 years ago by neogeek
Similar to the file_put_contents() function in PHP5 built for PHP4 (will not cause errors on a server running PHP5).
0 150 posted 14 years ago by neogeek
1 105 posted 2020 years ago by KernelPanic
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'));
67 758 posted 14 years ago by neogeek
This is a collection of US States (Long and abbreviated names) and world countries. There are a few examples of usage below the collections.
41 648 posted 14 years ago by neogeek
extraido de http://es.php.net/manual/en/ref.domxml.php
2 83 posted 14 years ago by mate
Esta funcion toma valores del espacio global $HTTP_*_VARS desde un array en la llamada a la funcion, y si existen y tienen contenido, las registra como globales para que puedan ser accedidas a continuación. Debe recibir una lista de elementos en...
1 124 posted 14 years ago by Navegante
This simple function allows you to fetch files from other web sites in PHP4 without needing to install any extensions for PHP.
1 141 posted 14 years ago by neogeek
The standard tag for the new class Smarty_Backoffice in my application.
0 63 posted 14 years ago by Bunker
1 ... 148 149 150 151 152 Next »