Php Delete Snippets


15 September, 2012   

This will perform the action of deleting many files.

A simple DELETE statement in MSSQL

Confirm a deletion (or any action) with Javascript.

14 May, 2011   

This is a general code to use when deleting an item from a MySQL database. This code isn't considered definitive and can be written in many varied ways. A variation of the code would be not to delete the record (as you tend to always need to restore or retrieve it sooner or later) you can add a 'status' field. If status='d' then it is...

SQL code example to delete WordPress post revision from DB

This is a very common PHP question of HOW TO remove last character from string in PHP. Find below some ways how to delete last character from string in PHP.

26 December, 2012   

This cron will do the same on Windows as session management works on Linux

PHP’s rmdir function does not allow the deletion of a folder if it is not empty.

15 December, 2012   

Allows you monitor how many times a link/image/banner is clicked.

13 June, 2013   

Allows you yo monitor how many times a link/image/banner is clicked, also allows you to diguise affiliate links. Consists of 1 small PHP file and is very easy to use.

Internal Mail System or private messaging system. Easy to embed into your own projects.

Use the same table to query against itself. The greater then sign does the main job of returning only one records of both duplicate records.

11 July, 2013   

Help manage mysql database common task

22 January, 2012   

C++ example code for showing how to allocate and free memory

06 June, 2012   

This function highlight_string() outputs or returns a syntax highlighted version of the given PHP code using the colors defined in the built-in syntax highlighter for PHP.

06 May, 2013   

Code example for Month Day Year Dropdown

27 October, 2011   

An example to include another PHP file into a PHP script

29 October, 2011   

Here shown an example how to Compress CSS with PHP

27 May, 2013   

Example shows here how to compress CSS with PHP

08 February, 2014   

How to set/get/delete Cookies