Sql Syntax Error Using Select From Inner Join On Where Php Coding

Sql Syntax Error Using Select From Inner Join On Where Php Coding