Is it possible to call a function more than once in a script?
I am trying to use:
<?php
require "SSI.php"; // functions
page("one");
page("two");
?>
to call from SSI.php
<?php
global $page;
function page($page) {
*CODE HERE*
}
?>
But it only prints data from page one, and if I switch them, it only prints the data from page two. I've tried unsetting the variable, but it still wouldn't work. What can I do to print both?