Php Pass Variable To Inline Function Syntax In Sql