Vigilante

Vigliant Media Framework

Documentation

Tutorials

Deleting from a database

A script to delete a single record from a database can be expressed in the following code:

Example 2-4-1
$result = mysql_query("Delete From Tracks Where TrackID=$TrackID");

Vigilante reduces this code as well.

Example 2-4-2
DeleteRecord("Tracks","TrackID=$TrackID");