Welcome To Snipplr


Everyone's Recent Snippets



1 ... 109 110 111 112 113 ... 554
Add the following lines of code to your theme's function.php file.
0 707 posted 13 years ago by priyankvira
Add the line of code to your theme's function.php file
0 848 posted 13 years ago by priyankvira
Add the following file to your theme's function.php file
0 816 posted 13 years ago by priyankvira
0 888 posted 13 years ago by priyankvira
Es ist auch möglich, ausschließlich Elemente zu selektieren, die mehrere Klassennamen aufweisen. Notieren Sie in diesem Fall beide Klassenselektoren direkt hintereinander.
0 867 posted 13 years ago by simondiercks
It uses a variable with a RecordSet. db_query PHP Functions can be used to have the REcordSet(http://snipplr.com/view/59419/php-connexion-to-mysql-ddbb-sql-query-and-creation-of-a-record-set/). Then fill the tables with the data of the RecordSet.
0 801 posted 13 years ago by alberomo
The `filtermap` functional below allows to perform the standard `map` and `filter` operations in one go. The mapping function has to return a `Maybe` monad, and values of `Nothing` are filtered out.
0 1820 posted 13 years ago by deepsoul
Example of some random number generation mechanisms built-in Python. More details in the following link: http://docs.python.org/library/random.html
0 802 posted 13 years ago by denakitan
Basic thread example showing how to create a class inheriting from threading.Thread class. For more information, take a look at the following links: http://docs.python.org/library/thread.html http://docs.python.org/library/threading.html http://www.i...
0 777 posted 13 years ago by denakitan
this thing is a pain to configure
0 752 posted 13 years ago by amos24c
0 694 posted 13 years ago by amos24c
That's something quick. A basic php class to manage properly a database. Thanks to magic methods opening a database is almost automatic.
1 985 posted 13 years ago by claudiowebdesign
0 721 posted 13 years ago by kendsnyder
PHP code for connect to MySql, create a SQL query and a Record Set from it. Note: If you use ADODB php library, write db_query() instead of mysql_query().
0 1102 posted 13 years ago by alberomo
Personalized plugin for order datatables with spanish date dd/mm/yyyy hh:mm
0 642 posted 13 years ago by donmik
0 1121 posted 13 years ago by sybrex
I found this useful. Works as expected.
0 802 posted 13 years ago by RainyDayMedia
0 716 posted 13 years ago by dato
HTML PAGED LIST , USING AJAX, JSON AND DATABASE
0 881 posted 13 years ago by ayaz
It uses a variable with a RecordSet from a ADOdb Library (Library must be downloaded). db_query PHP Functions can be used to have the REcordSet(http://snipplr.com/view/59379/dbquery-php-function-for-ddbb-queries-with-adodb-library/) Then uses ADOD...
0 700 posted 13 years ago by alberomo
A PHP function to get a Record Set using ADOdb Library. It takes the (SQL) query as an argument. For INSERT queries. NOTE: A call for a query. It also need next variables: $dbhost,$dbuser,$dbpasswd,$dbname (data from de bbdd connexion). Can be...
0 945 posted 13 years ago by alberomo
Reference of simple operations with dates, such as formatting and arithmetic.
0 884 posted 13 years ago by denakitan
A PHP function to get a Record Set using ADOdb Library. It takes the (SQL) query as an argument. For SELECT,UPDATE and DELETE queries. It also need next variables: $db_host,$db_user,$db_passwd,$db_name (data from de bbdd connexion). Can be dec...
0 888 posted 13 years ago by alberomo
Rrewrite "www.domain.com -> domain.com" and viceversa
1 2425 posted 13 years ago by macodev
1 ... 109 110 111 112 113 ... 554