07-26-2002, 08:35 PM
this is probably really simple and something I've eitehr unwittingly done before or should know BUT... how do I create a function and how do I call it later?
:o feelin' stoopid already...
07-26-2002, 08:50 PM
I'm too lazy to type today so here is a small tutorial with simple examples:
07-26-2002, 08:56 PM
And if you really want to be cool then you would want to get into creating PHP classes:
This works a lot like Java. You can create a class which could be full of functions/methods for doing specific kinds of tasks. Then you simply need to create an instance of that class and access the methods within it. Makes for more organized coding and modularity and stuff. :)