Sir I am using first time ListPicker
My PHP file is like this
<?php
date_default_timezone_set("Asia/Karachi");
$servername = "localhost";
$username = "id20649282_hassan";
$password = "Tariq@123456";
$database = "id20649282_asiacng";
$dbc = mysqli_connect($servername, $username, $password, $database);
if (!$dbc)
{
die("DATABASE CONNECTION FAILED:" . mysqli_error($dbc));
exit();
}
$button = mysqli_real_escape_string($dbc, $_GET["button"]);
if ($button == "btn_Get")
{
$query = "select * from world";
if ($result=mysqli_query($dbc, $query))
{
/*
while ($row = mysqli_fetch_array($result))
{
echo $row['country'];
echo "<br>";
}
*/
$numColumns = mysqli_field_count($dbc);
if ($numColumns > 0)
{
$en_csv = '';
while ($row = mysqli_fetch_assoc($hacer))
{
foreach ($row as $column)
{
$en_csv .= $column . ",";
}
$en_csv = rtrim($en_csv, ",");
$en_csv .= "\n";
}
$en_csv = rtrim($en_csv, "\n");
print $en_csv;
}
}
else
{
echo "ERROR: Could not able to execute" . $query . " " . mysqli_error($dbc);
exit();
}
mysqli_close($dbc);
exit();
}
?>
and here are blocks
When I click Get Data button then it shows responsecode=200 like this
but ListPicker is not showing data
t_ListView_with_Mysql.aia (3.2 KB)
Please help