Alright, I've been making a few functions and putting them on my project. I've been running into a few troubles on this one function. I put my own code in there, and it put the following error on the page;
Fatal error: Call to undefined function getAll() in httpdocs\design\index.php on line 53
After that error, I decided to go to php.net and use one of their functions to call upon which decided not to work either.
function foo() {
echo "In foo()<br />\n";
}
Here's the function that calls it.
if($_SESSION['User'])
{
if($_GET['category'] == "")
{
foo();
}
else
{
echo "Test";
}
}
echo "You aren't logged in.";
}
It just doesn't seem to want to call.
-Apixen