Php Use Variable In Function Sql Syntax