eric235u
User
 Junior Boarder
| Posts: 5 |   | Karma: 0
|
functions - how to tell one to 'go' - 2007/03/21 10:13
here's a question that's really going to display my ignorance. i'm putting together this little module for a cms. occassionally i'ld like to clean up the database. if something meets a certain case, delete that row. so i make a function, 'cleanup', and put it in it's own file called cleanup.php. now, when people view index.php, and my data is displayed to them, i would like to call cleanup.php to get rid of any crap they don't desire to see. what's the easiest way to do this?
thanks for the handholding. -eric.
|