Parse error: syntax error, unexpected T_ECHO, expecting ')' in C:

Parse error: syntax error, unexpected T_ECHO, expecting ')' in C:

MontchoMontcho Posts: 1Questions: 0Answers: 0
edited June 2016 in Free community support

hi
i am using Server-side processing and i keep getting this error : Parse error: syntax error, unexpected T_ECHO, expecting ')' in C:

i don't know how to fix it can somebody help me please?
this is the part of the code where the error come from :

require('ssp.class.php')


echo json_encode (
    SSP::simple( $_GET, $sql_details, $table, $primaryKey, $columns )
);

Replies

  • allanallan Posts: 63,799Questions: 1Answers: 10,514 Site admin

    Missing a semi-colon at the end of the require line.

    Other than that, it looks fine, but I'm not really a PHP linter :-)

    Allan

This discussion has been closed.