I see, Im still a little troubled by the problem. If I have a link on a HTML document called <a href="search.php">Search Tool</a> How would I execute a function within my class? Is it the same answer as you gave me? So, <a href=" <?php $fg->yourfunctionname($arguements); ?> "> Search Tool</a>
Is that the answer ? -Daniel -----Original Message----- From: Chris Sherwood [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 12:20 PM To: Daniel Rychlik; [EMAIL PROTECTED] Subject: Re: [PHP] calling functions in classes using text and graphic links I am not sure what you mean but if you are trying to call functions that exist within your class you need to do something like the following $fg = new YourClass.class.php; $fg->yourfunctionname($arguements); ----- Original Message ----- From: "Daniel Rychlik" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 24, 2003 10:09 AM Subject: [PHP] calling functions in classes using text and graphic links > Hello, > > I am attempting to solve a problem in PHP. My application consists of > Classes and subclasses. In my Class I call certain functions that have > header information and footer information displaying them in nicely > formatted HTML. I have used this method because of one style sheet that > all HTML documents read from. I have run into a problem with executing > functions using HTML links. I have not yet come up with a solution and > I was wandering if anyone has run into his one before. Obviously I > need this to be dynamic as possible, and as friendly to use. Any > suggestions would be greatly appreciated. > > Thanks in advance, > Daniel > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php