Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Notifications with Ratchet
Post: Notifications with Ratchet

Does anyone out there have any idea how to send notifications in real time with a "Ratchet" library? I want to send a notification to all controller users in real time, when another user enters the c...
750 Views
0 Replies
08-10-2021, 07:50 AM
reinaldo07
    Thread: I can't validate array in json.
Post: RE: I can't validate array in json.

InsiteFX Wrote: (07-27-2021, 05:03 AM) -- You need to json_decode the json array to an associated array first. -- I've tried it though when I give a "json_decode($json, true);" Gives typeerror.
3,335 Views
7 Replies
07-27-2021, 05:55 AM
reinaldo07
    Thread: I can't validate array in json.
Post: RE: I can't validate array in json.

I use the current version 4.1.3.Below is a json that is wrong, but passes validation: { "api_key": "syPK1zJAUT", "date_expire": "2021-07-27 00:01:00", "customer": { "name": "Reinaldo", "email...
3,335 Views
7 Replies
07-27-2021, 03:18 AM
reinaldo07
    Thread: I can't validate array in json.
Post: RE: I can't validate array in json.

4.1.3
3,335 Views
7 Replies
07-27-2021, 03:15 AM
reinaldo07
    Thread: I can't validate array in json.
Post: I can't validate array in json.

I'm not able to validate the array of items that I'm passing via json. Here's how I'm trying: Rules: PHP Code: -- public $createTransaction = [         'api_key' => [ 'label' => 'api-key', 'rule...
3,335 Views
7 Replies
07-26-2021, 07:04 PM
reinaldo07

Theme © iAndrew 2016 - Forum software by © MyBB