@@eriksetiawan4945 untuk fitur itu saya belum menambahkan ke class php, tapi mungkin bisa dicoba menggunakan curl /film.json?orderBy="tanggal"&startAt="2022-06-01"&endAt="2022-06-30"
each row should have a unique id -------------------- $data = $db->retrieve('user/'); $user = json_decode($data, true); print_r($user); -------------------- for example like this: ruclips.net/video/MrcYfJiG-I8/видео.html
in this video I'm using Rest API, not using SDK, I haven't tried getChild in Rest API version, sorry 🙏 maybe you can use: $data = $db->retrieve('user/'); $user = json_decode($data, true); echo $user[array_keys($user)[0]]['name']; * but I haven't tried it yet, hope it works
makasih sdh sharing, bermanfaat.
Ini yg gw cari².. makasi masbro..👍
i have undefine property under url, how i fix this.
me too
Thre's no audio except the intro music?
How can add multiple sub objects to main object. Could you help me to do that?
mas, untuk query join gimana ya mas?
wahh your vid save my life
bg kalo mau nambahin filter berdasarkan salahsatu field gimana ya? contoh filter berasarkan tanggal
bagian .indexOn pada rules bisa ditambahkan beberapa field, contohnya seperti ini:
{
"rules": {
"film": {
".indexOn": ["title", "tanggal"],
".read": true,
".write": true
}
}
}
panggil di PHP:
$db->retrieve("film", "tanggal", "EQUAL", "2022-06-05");
@@thedevisty kalo misalnya untuk nyari rentang tanggal bisa juga mas? Contoh dari tanggal 1 juni - 30 juni
@@eriksetiawan4945 untuk fitur itu saya belum menambahkan ke class php,
tapi mungkin bisa dicoba menggunakan curl
/film.json?orderBy="tanggal"&startAt="2022-06-01"&endAt="2022-06-30"
@@thedevisty wah makasih banyak bg, besok saya coba. Untuk case filter tadi sudah bisa, tinggal yg sortir berdasarkan rentang waktu. 👍👍
@@eriksetiawan4945 oke kak sama sama, happy coding 👍
how to sort data by date ? using this code
Alguem sabe?
How to Count Total number of rows
bang itu kan pathnya random, biar gk random gimn?
saya udh kasih /user/uid/ malah jadi /user/uid/random
gabisa, id otomatis di generate random oleh firebasenya
@@thedevisty klo edit dari orderby bisa gak bang? misalkan orderby valuenya
How could we access 3 level deep nested data using same method?
you can use:
$rdb->retrieve("path/subpath/subpath");
Where did you get your firebaseRDB folder?
the firebaseRDB.php file is the code I wrote, you can download it here: drive.google.com/file/d/1QvzSdrybxp60jckq4KDf5dnS9uJD4Chi/view?pli=1
@@thedevisty Hello sir, do you have video that explain your firebaseRDB.php, hoping for your response:)
كل الحب والتقدير
Me Ajudou muito, Obrigado!
Gak ada suaranya bang
iya beberapa video ga di tambahkan suara 😁
13:17
How can we access a array inbthe realtime database using php?
Like
User
|
|
|
- 07-01-2022 12:34:09
| ------name:"came"
| ------age:"67"
| ------place:"America"
|
|
|
- 08:06:2022 08:56:55
| -------name:"kate"
| -------age:"78"
| -------place:"Torito"
each row should have a unique id
--------------------
$data = $db->retrieve('user/');
$user = json_decode($data, true);
print_r($user);
--------------------
for example like this:
ruclips.net/video/MrcYfJiG-I8/видео.html
@@thedevisty but that date node don't have any key value attribute...
So how can I access that???
Can I ise getChild()???
But How?
in this video I'm using Rest API, not using SDK, I haven't tried getChild in Rest API version, sorry 🙏
maybe you can use:
$data = $db->retrieve('user/');
$user = json_decode($data, true);
echo $user[array_keys($user)[0]]['name'];
* but I haven't tried it yet, hope it works
@@thedevisty it's ok..