12-29-2008, 04:54 PM
|
#16 (permalink)
|
|
Wizard
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
|
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.
|
|
|
|