Re: Question about functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 24 Jan 2008, at 20:00, Jason Pruim wrote:
So, I'm trying to learn about functions, and I think I understand what to use them for... And one of the ideas I had was to write a function to logout of an application. The question I have though, is how do I call it?

Right now I just have a link like this: <A href="logout.php">Click here to logout</A> Can I do the same thing with a function? And if so, then maybe I don't really understand functions like I thought I did... Because to me, that would look like it would be just the same as calling a single script to logout vs. a function?

Functions are internal to PHP, there is no way to address them from a web page.

-Stut

--
http://stut.net/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux