Reference Guide

Adobe Acrobat PDF Lampshade 1.2 Reference (PDF)

database.inc.php - Database Functions

idString

Required Parameters: string $primary, variable $id
Optional Parameters: char $comparison, string $conjunction
Returns: string
Description: This function, used by delete(), creates a string of fields, comparison symbols and unique identifiers in properly formatted SQL syntax. Among other things, this can be used to facilitate the deletion of multiple records with a single query.

function idString($primary, $id, $comparison = '=', $conjunction = 'OR')

Copyright © 2001-2010 Think Computer Corporation. All Rights Reserved. Patent pending.

Authors of the impossible.™
Think