your code
<?php
include 'dd.php';
?>
<!doctype html public "-//w3c//dtd html 3.2//en">
<html>
<head>
<title>Demo Multiple drop down list box from plus2net</title>
</head>
<body>
<?php
$cat=$POST['cat'];
$subcat=$POST['subcat'];
$load=$_POST['load'];
echo "Value of \$cat = $cat <br>Value of \$subcat = $subcat"."<BR>";
echo "Value of \$load = $load";
if ($load =='full_load'){
$result=mysql_query("SELECT full_price from eu_place where city = '$subcat' "); }
else {$result=mysql_query("SELECT half_price from eu_place where city = '$subcat' "); }
echo mysql_error();
while ($row = mysql_fetch($result)) {
echo $row;
}
?>
</body>
</html>
in this you have not used mysql_fetch_array($result)
try this
<?php
include 'dd.php';
?>
<!doctype html public "-//w3c//dtd html 3.2//en">
<html>
<head>
<title>Demo Multiple drop down list box from plus2net</title>
</head>
<body>
<?php
$cat=$POST['cat'];
$subcat=$POST['subcat'];
$load=$_POST['load'];
echo "Value of \$cat = $cat <br>Value of \$subcat = $subcat"."<BR>";
echo "Value of \$load = $load";
if ($load =='full_load')
{
$sql="SELECT full_price from eu_place where city = '$subcat' ";
$result=mysql_query($sql);
echo mysql_error();
while ($row = mysql_fetch_array($result)) {
echo $row['full_price'];
}
else
{
$sql="SELECT half_price from eu_place where city = '$subcat' ";
$result=mysql_query($sql);
echo mysql_error();
while ($row = mysql_fetch_array($result)) {
echo $row['half_price'];
}
try this out
?>
</body>
</html>