merhaba arkadaşlar php hakkında bir yardıma ihtiyacım var open source bir projede bir formda boş bir yere sıralı array yazdırmak istiyorum yardımcı olurmusunuz örnek dosyayı ekte atıyorum.
<table>
<thead>
<tr>
<th width="50%">URL= http://hizlitestplay.xyz:8080</th>
</tr>
<tr>
<th width="50%">KULLANICI ADI=</th>
</tr>
<tr>
<th width="50%">PAROLA=</th>
</tr>
</thead>
<tbody>
<?php
$url = 'http://webdizey.com'; // Doğru URL'yi belirtin
// Sorgu dizesini oluşturun
$query = http_build_query($rUser);
// Sorgu dizesi ile tam URL'yi oluşturun
$fullUrl = $url . '?' . $query;
// Belirtilen URL'den JSON verilerini alın
$json = json_decode(file_get_contents($fullUrl), true);
// JSON verilerini döngü ile işleyin ve tabloya ekleyin
foreach ($json as $userData) {
?>
<tr>
<td><center><strong><?php echo $rUser = getUser($_POST["username"]); ?></strong></center></td>
<td><center><strong><?php echo $userData["password"]; ?></strong></center></td>
</tr>
<?php } ?>
</tbody>
</table>ana dosya burada:
https://file.io/DbQOI5uSYOZg