Źródło z którego chcę pobrać dane: https://www.calculatestuff.com/widgets/fina...loan-calculator
Moje wypociny...
Kod
<html>
<head>
<title>Kalkulator</title>
</head>
<body>
<p>Tekst na stronie zawierający wynik.</p>
<p>Your monthly payment including interest will be:
<?php
$strona = file_get_contents('https://www.calculatestuff.com/widgets/financial/auto-loan-calculator');
echo '<pre>';
preg_match('/<div class="center-content bottom-border">(.*)<\/div>/s', $strona, $wynik);
echo $wynik[0];
?>
It appears that your sales tax for this auto loan will be...</p>
</body>
</html>
<head>
<title>Kalkulator</title>
</head>
<body>
<p>Tekst na stronie zawierający wynik.</p>
<p>Your monthly payment including interest will be:
<?php
$strona = file_get_contents('https://www.calculatestuff.com/widgets/financial/auto-loan-calculator');
echo '<pre>';
preg_match('/<div class="center-content bottom-border">(.*)<\/div>/s', $strona, $wynik);
echo $wynik[0];
?>
It appears that your sales tax for this auto loan will be...</p>
</body>
</html>
Proszę o wsparcie
