Hello, im trying not show this error:
Warning : Undefined array key “status” in C:\xampp\htdocs\forge\index.php on line 163
but I’m kinda of lost, i call app and it returns status, the error appears when session has ended and i refresh page. Since there is no more status in $check variable. At least thats why I understand, im new at php.
Any ideas, or suggestions? Thanks.
$resp= curl_exec($curl); curl_close($curl); $json = json_decode($resp,true); $check = $json['status'];