So I have this code
$result = json_decode($output, true);
var_dump($result);
It is generating the following.
array(3){
[
"status"
]=>string(9)"completed"[
"flights"
]=>array(2){
[
"outbound"
]=>array(9){
[
"E_0830_1140_2176"
]=>array(6){
[
"Flight"
]=>array(14){
[
"class"
]=>string(1)"E"[
"airline"
]=>string(2)"G3"[
"number"
]=>string(4)"2176"[
---------------------->**"from"**
]=>string(3)"GIG"[
"to"
]=>string(3)"FOR"[
"departure"
]=>int(1523532600)[
"departure_date"
]=>string(10)"2018-04-12"[
"departure_time"
]=>string(5)"08:30"[
"arrival"
]=>int(1523544000)[
"arrival_date"
]=>string(10)"2018-04-12"[
"arrival_time"
]=>string(5)"11:40"[
"flight_time"
]=>int(11400)[
"str_flight_time"
]=>string(5)"3h10m"[
"national"
]=>bool(true)
}
I would like to get the result from "from" by EX and throw it in "echo" and bring it separately so I can style it.