October 22, 2024
Chicago 12, Melborne City, USA
PHP

PHP file_get_contents, get result


How can i get just "ticket" ?

<?php
$data = json_decode(file_get_contents('dlticket.json') , true);
echo 'HTML
' . $data['msg'] . ' HTML
';
?>

{"status":100,"msg":"OK","result":{"ticket":"I.want.this.value","wait_time":10,"valid_until":"2024"}}



You need to sign in to view this answers

Leave feedback about this

  • Quality
  • Price
  • Service

PROS

+
Add Field

CONS

+
Add Field
Choose Image
Choose Video