31TSAI/ProjektowanieBazDanych/insertsql/buffer.php
2023-11-19 17:04:22 +01:00

14 lines
No EOL
524 B
PHP

<?php $mid = '';
$w_mid = mysqli_fetch_array($wyn_mid);
$midle = $w_mid['name'];
?>
<option value=<?php printf("%s", "'" . $midle . "'"); ?> selected><?php printf("%s", $midle); ?></option>
<?php
while ($w_mid = mysqli_fetch_array($wyn_mid))
{
$midle = $w_mid['name'];
?>
<option value=<?php printf("%s", "'" . $midle . "'"); ?>><?php printf("%s", $midle); ?></option>
<?php
}
?>