Answer the question
In order to leave comments, you need to log in
How to take only one value from the json response and return it to the page?
I have this code:
<?php
$p_url = $_POST['p_url'];
$url = 'https://site.ru/?url='.$p_url.'';
$result = file_get_contents($url);
echo $result;
?>
"media_id": "это нужно выводить",
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question