I have the following coding and want to display the value of "ChannelName" on textbox 1. I have attached the blocks here. Please tell me how to fix it.
<?php
include './config2.php';
$sql = "SELECT *
FROM InternetRadio_Link
WHERE ChannelNo IS NOT NULL
ORDER BY ChannelNo";
$result = $pdo->query($sql);
foreach($result as $row) {
echo $row["id"],$row["ChannelNo"],$row["ChannelCounty"],$row["ChannelName"],$row["ChannelURL"],$row["ChannelPlayPic"];
}
?>