Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged query



1 2 Next »
Magic quotes for incoming GET/POST/Cookie data. This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 6.0.0. Relying on this feature is highly discouraged.
0 1162 posted 16 years ago by lzyy
1 1251 posted 16 years ago by apro2000
2 1046 posted 16 years ago by blubadger
$quote -- name of function post_type=page -- remove to query posts orderby=rand -- random order showposts=1 -- limit to 1 post effect -- displays 1 random custom excerpt outside of the loop
1 1319 posted 16 years ago by davebowker
0 1093 posted 16 years ago by iTony
Allows you preserve and update a query string and it's existing values easily, instead of constantly appending the new value to the end of the query string
1 1391 posted 17 years ago by simplistik
0 1343 posted 17 years ago by stavelin
1 1341 posted 17 years ago by plasticated
Replace all mysql_query() calls in your project to debug_mysql_query() to see all mysql queries in Firebug console.
1 1467 posted 17 years ago by stancell
4 1406 posted 17 years ago by mswallace
I modified some code created by Macromedia Dreamweaver into a flexible function to rebuild the query string. The function is very useful for pagination or passing variables from one page to another.In this version it's possible to add more than one v...
1 1256 posted 17 years ago by gbot
This is a simple class to encapsulate CURD functions. This class also includes some simple search methods.
1 1672 posted 17 years ago by ecavazos
1 1229 posted 19 years ago by gdonald
from openbusiness.cc
2 1377 posted 19 years ago by ringo
1 2 Next »