ok, this is my all codes:

$bad= $_POST['bad'];      // sent from bayii.html as ankara or istanbul
echo"$bad";
 mysql_connect ("localhost","root") or die ("localhost patlar");
 mysql_select_db ("exx") or die ("exx e baglanamadı..");
 $sql= "select  bayiiad, bayiino, sehir, ad, soyad from bayiiler, uyebayiiler 
where uyebayiiler.bayiiid = bayiiler.bayiiid and bayiiler.sehir = '$bad'; ";
$sq= mysql_query($sql);
 while($row=mysql_fetch_array($sq)) 
{
                         
                            echo $row[0];
                            echo "    ";
                            echo $row[1];
                            echo "   , ";
                            echo $row[2];
                            echo "    ";
                            echo $row[3];
                            echo "   , ";  
                               echo $row[4];
                            echo "    ";
            } 



DyhOnur..
 
---------------------------------
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.

[Non-text portions of this message have been removed]

Reply via email to