how do i call a class method in php?

  • Thread starter Thread starter dyinghardrive
  • Start date Start date
D

dyinghardrive

Guest
I want to create a PHP class to run sql queries more effectivly

I think I have defined a class correctly like this:

my_class{

myfunction(){
sql query here
}


}

but how do I call/reffer to what I have got?
 
Back
Top