1.11M Members

Parse error: syntax error, unexpected '(' on line 44

 
0
 

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

 
0
 

show ALLthe code

Question Answered as of 3 Years Ago by almostbob
You
This question has already been solved: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article