So why are you not just doing:
echo json_encode(array(‘event_id’ => 603));
If its a int, don’t quote it. If it is already quoted, then you doing something wrong before you are json encoding it.
So why are you not just doing:
echo json_encode(array(‘event_id’ => 603));
If its a int, don’t quote it. If it is already quoted, then you doing something wrong before you are json encoding it.