I've checked my code a thousand time and it never pops up right so I tried a PHP Checker/Tester. It tells me Call to undefined function test_input() in /home4/phptest/public_html/code.php70(5) : eval()'d code:4 Stack trace: #0 /home4/phptest/public_html/code.php70(5): eval() #1 {main} thrown on line number 4 What does this mean? Help Please!
<?php
        ($_SERVER["REQUEST_METHOD"] == "GET");
        $charName = test_input($_GET["charName"]);
        $charType = test_input($_GET["charType"]);
        $healthTokens = test_input($_GET["healthTokens"]);
        $expTokens = test_input($_GET["expTokens"]);
        $supplyTokens = test_input($_GET["supplyTokens"]);
        $charName = $_POST['charName'];
        $charType = $_POST['charType'];
        $healthTokens = $_POST['healthTokens'];
        $expTokens = $_POST['expTokens'];
        $supplyTokens = $_POST['supplyTokens'];
        if (strtolower($password) == "php123")
        {
            $goldSpent = $healthTokens / 10 + $expTokens / 2 + $supplyTokens / 25;
            print("<h1>You have created $charName the $charType!</h1>");
            print("<p>$charName has $healthTokens health tokens,
                        $expTokens experience tokens, and 
                        $supplyTokens supply tokens.</p>");
            print("<p>$charName has spent $goldSpent gold pieces.</p>");
        }
        else
        {
            print ("<p>Sorry! That password is NOT correct. Please try again</p>");
        }
?>
 
    