Re: Question about functions

From: Date: Thu, 24 Jan 2008 20:04:51 +0000
Subject: Re: Question about functions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-268028@lists.php.net to get a copy of this message
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/

« previous php.general (#268028) next »