ktamas77 / firebase-php

Firebase PHP Client
791 stars 215 forks source link

firebase query "equalTo" doesn't work with "+" symbol #83

Closed aslamca closed 6 years ago

aslamca commented 6 years ago

Hi,

I am trying to get data by using query, $leaders = $firebase1->get('/test', ['orderBy' => '"userID"', 'equalTo' =>'"+919888888884"']); But this gives empty {} as result. I get result if I change "+" with any other symbol on database as well as in query.

Could some one please help me?

aslamca commented 6 years ago

Hi, I used unicode \u002B instead of +(plus) and now it’s working.