Hi friends,

I am searching information about how to make a simpel class in asp but i cna't figure it out. I have a couple of examples but i don't understand them as good to make my own or they are to complicated. I simply need a class for mysql database. I am now doing al the connection and sql things in every page but i need to have one file with the class that i can include.

What i need to do is very simpel. with the class for example..

class.connect
firstname = class.lastname("batman")
with that firstname i have to use it like => firstname.movefirst etc...
class.new_firstname(firstname, lastname) (must give value 1 back or error)
class.exeq_sql (sql string)
class.close_connection

is there someone who can help me or have a good and simpel example?

Thanks a lot,
Matrixxx