MySQL无用的SQL语法错误

I have another error with my MySQL, Which is as follows:

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

I have experienced this error before by removing unnecessary quotes, however this doesn't appear to be the problem this time. All the times I saw the question asked on stack overflow too, the questions were either because of unnecessary quotes or were very unique to that code. If anyone can help me or point me towards a useful answer, I would appreciate that! :^]

Code:

    $sql = "SELECT(sect_id, sect_name, sect_desc)FROM sections WHERE sect_id = " . mysqli_real_escape_string($con,$_GET["id"]);

$result = mysqli_query($con,$sql);

if(!$result)
{
echo 'The sections could not be displayed, please try again later.' . mysqli_error($con); 

This error message isn't unhelpful. You just need to be accustomed with the way mysql reports its errors.

When the reported query part is empty, it means that the error occurred at the very end of the query.

It means that $_GET["id"] is empty, producing incorrect SQL statement

SELECT(sect_id, sect_name, sect_desc)FROM sections WHERE sect_id = 

to fix that, you should ALWAYS use prepared statements.

Beside syntax, prepared statement will fix the sql injection to which your query is essentially prone.

Besides, next error to appear is wrong syntax for the fields list, from which braces should be removed.