1. 1.
    +1
    <?php
    session_start();

    $con = mysql_connect("localhost", "root");

    if($con == false)
    die('Unable to connect to the database: '.mysql_error());

    mysql_select_db("root", $con);

    $query = "SELECT am, züt, meme FROM karı WHERE yaş > 18 AND yaş < 30";
    $result = mysql_query($query);

    while($result_record = mysql_fetch_array($result)){
    if($result_record["am"]

    'var' AND $result_record["züt"]

    'var' AND $result_record["meme"] == 'var'){
    echo 'ohşş';
    }
    else{
    echo 'biri yoksa hiçbiri olmasın amk';
    }
    }
    ?>
    ···
   tümünü göster