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
Code:

            $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 :)

show ALLthe code

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.