how does one "import files of functions" into a php document?  for
example, i'd like to have a function (i'm using a mock language; i'm
still learning php):


  function PrintListArray(array)
  {
        print "<B>The Heading</B>";
        print "<UL>";
  
        foreach $i in (@array) {
           print "<LI> $i\n";
        }
  
    print "</UL>";
  }


this isn't php, but the intention (i hope) is clear.  i'd like for this
function to be shared by multiple web pages.  is there a way of sticking
this function (properly written with php) into a file and importing that
file from the various webpages so they can all use PrintListArray?

pete
_______________________________________________
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech

Reply via email to