View Single Post
Old 12-29-2008, 04:54 PM   #16 (permalink)
Village Idiot
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

Here is what I want done with it:
  • Make the connnection a variable so we can use the connection for every query.
  • Have the SQL cleaning function return the variable as is if its an int type.
  • Remove all output form the class as throw an exception instead.
As a general rule, classes are never to give output of any kind, they strictly process data.
__________________


Last edited by Village Idiot : 12-29-2008 at 05:29 PM.
Village Idiot is offline  
Reply With Quote