Select Box
Bronxphoneix opened this issue · 2 comments
Bronxphoneix commented
Merhaba, öncelikle teşekkürler, selectbox içine nasıl getirebiliriz,
select(['Antalya', 'İstanbul'])->get() as $il=>$ilce){ echo $ilce; } ?>pro değilim.
merkdev commented
Selamlar,
<?php $cities = $turkey->select('*')->get(); ?>
<select name="cities">
<?php foreach($cities as $city) { ?>
<option value="<?php echo $city; ?>"><?php echo $city; ?></option>
<?php } ?>
</select>
Bu şekilde dener misiniz?
Bronxphoneix commented
merhabalar cevap için teşekkürler, şöyle oldu
[image: image.png]
Kamer DINC ***@***.***>, 25 Şub 2022 Cum, 17:13 tarihinde
şunu yazdı:
… Selamlar,
<?php $cities = $turkey->select('*')->get(); ?>
<select name="cities">
<?php foreach($cities as $city) { ?>
<option value="<?php echo $city; ?>"><?php echo $city; ?></option>
<?php } ?>
</select>
Bu şekilde dener misiniz?
—
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKKVHIX3ZRLGFRCBYGRNBQTU46FA5ANCNFSM5PFPL44A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>