knowNothing Posted April 27, 2007 Share Posted April 27, 2007 Here's what I want to do. I need to access a class member function from outside the class, and hopefully without having to instantiate the class if possible? I have an HTML form <select> and each <option> item is being pulled from an array stored in a mysql db. But I'm doing this independently of the normal purpose of the class itself, I just want to use that member function. Quote Link to comment Share on other sites More sharing options...
boo_lolly Posted April 27, 2007 Share Posted April 27, 2007 we're programmers, not psychics. why don't you post some code? and there is a child-forum for all OOP questions here. Quote Link to comment Share on other sites More sharing options...
neel_basu Posted April 27, 2007 Share Posted April 27, 2007 class_name::member_function(); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.