Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 30 31 32 33 34 ... 147
0 1237 posted 14 years ago by erraja_07
Sometimes a legacy database will have HTML entities stored in it. This function converts them. Note that this function assumes you have a database abstraction layer, and may need to be modified to connect to YOUR database.
0 4183 posted 14 years ago by f6design
0 958 posted 14 years ago by bisaram
Show wp categories in drop down list like ...
0 2091 posted 14 years ago by webtechdev
In this blog, we will see how to add custom fields to magento onepage checkout steps. This method can be used to add custom field to any step in the checkout page, although in the current blog i have demonstrated how to add it to the billing step. T...
0 1225 posted 14 years ago by etechblog
To find the count of number of files in a directory, use this.
0 1231 posted 14 years ago by taqin
Codigo base de un plugin para wordpress
0 1392 posted 14 years ago by foxnetorka
Codigo base para un widget en Wordpress
0 1415 posted 14 years ago by foxnetorka
Add the following line to code to your theme's functions.php file
0 1306 posted 14 years ago by priyankvira
Add the following lines of code to your theme's function.php file.
0 1336 posted 14 years ago by priyankvira
Add the line of code to your theme's function.php file
0 1603 posted 14 years ago by priyankvira
Add the following file to your theme's function.php file
0 1564 posted 14 years ago by priyankvira
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 1438 posted 14 years ago by alberomo
That's something quick. A basic php class to manage properly a database. Thanks to magic methods opening a database is almost automatic.
1 2693 posted 14 years ago by claudiowebdesign
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 1906 posted 14 years ago by alberomo
Personalized plugin for order datatables with spanish date dd/mm/yyyy hh:mm
0 1177 posted 14 years ago by donmik
0 1904 posted 14 years ago by sybrex
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 1417 posted 14 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 1771 posted 14 years ago by alberomo
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 1691 posted 14 years ago by alberomo
Takes the collection 'david' and gives a unique array of the keys used.
0 1706 posted 14 years ago by lemcoe9
I am having a bit of trouble figuring out what goes where in my application. I guess this is something of a fundamental lack of understanding I have, and I'm hoping somebody might be able to clear things up. This is all very much pseudo code. In...
0 1348 posted 14 years ago by shoelessone
1 ... 30 31 32 33 34 ... 147