Start New Discussion within our Web Development Community

Hello there members of DaniWeb :)
Im making a website for my father but suddenly an error came up :(
Error: Parse error: syntax error, unexpected '(' on line 44

            $first = true;
            $include_file = "./inc/acp.php";
            foreach($_GET as $key => $value)
               $include_file .= (($first)?("?")("&")) . $key . "=" . $value;
               $first = false;
            require $include_file;

(line 40 - 47)
that is the code that is used to include the acp to my father website and line 44 is the $include_file .=...

please help :)

This question has already been answered. Start a new discussion instead.