*** PHP *** $response = curl_exec($curl); if($e = curl_error($curl)) { echo $e; } else{ $decoded = json_decode($resp

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

*** PHP *** $response = curl_exec($curl); if($e = curl_error($curl)) { echo $e; } else{ $decoded = json_decode($resp

Post by answerhappygod »

*** PHP ***
$response = curl_exec($curl); if($e = curl_error($curl)) { echo $e; } else{ $decoded = json_decode($response,true); echo "<table class=customers>"; echo"<tr>"; echo "<td> <strong> Device Information </strong> </td>"; echo "<td> <strong> Values </strong> </td>"; echo"</tr>"; foreach ( $decoded as $key => $val) { echo "<tr>"; echo '<td>'. $key.'</td>'. '<td>'. $val .'</td>'; echo "</tr>"; } echo "</table>";
Php Response Curl Exec Curl If E Curl Error Curl Echo E Else Decoded Json Decode Resp 1
Php Response Curl Exec Curl If E Curl Error Curl Echo E Else Decoded Json Decode Resp 1 (33.31 KiB) Viewed 96 times
Decem last upda 9 dep Malene m pro but type M Amy 202247-478260254SZ 1 A Any Productio AVIT Anay A Ne May V
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply