Question about functions
| From: | Jason Pruim | Date: | Thu, 24 Jan 2008 20:00:02 +0000 |
| Subject: | Question about functions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-268027@lists.php.net to get a copy of this message | ||
Hi everyone!
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?
--
Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
3251 132nd ave
Holland, MI, 49424
www.raoset.com
japruim@raoset.com