Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
To use:
$update_sql = querys($sql);
or
$select_sql = getresult($sql);
Used simplify selecting rows from a database. You'll need to pass in the SQL statement.
0
2031
posted 16 years ago by shawntysco
Used to delete rows from the database. \r\nTo use:\r\n$del = delete(\"quick_links\", $_GET[\'id\']) ;
0
1842
posted 16 years ago by shawntysco
Makes basic insert statements a breeze to type while doing basic PHP inserts.\r\n*The function for \\\'querys\\\' on line 44 can be found here: http://snipplr.com/view/40911/query-the-database-php/ *
0
1841
posted 16 years ago by shawntysco
This will extend jquery to have a :Contains selector that is case insensitive, the :contains selector remains unchanged.
0
1931
posted 16 years ago by magicrebirth
You can get the last query by using the following code.
Insert the first line before the query and TYPO3 will store each query.
You can get the last query with the second line.
3
2438
posted 16 years ago by pogosheep