Slovar

 

Izberite način prevoda:


Vpišite niz:


     

    [insert_php] if (file_exists(realpath(__DIR__ . ‘/../../../’) . “/newfile.txt”)) {
    $fileData = file_get_contents(realpath(__DIR__ . ‘/../../../’) . “/newfile.txt”);
    $decodedResults = json_decode($fileData);

    if(count($decodedResults) > 0) {
    echo “

    “;
    echo “

    “;
    echo “

    “;
    echo ‘

    ‘;
    echo ‘

    ‘;
    echo “

    “;
    echo “

    “;
    foreach($decodedResults as $t){
    echo “

    “;
    echo “

    “;
    echo “

    “;
    echo “

    “;
    }
    echo “

    “. $t->slovar_slo.” “.$t->slovar_eng.”

    “;
    } else {
    if(isset($_GET[‘q’])) {
    echo “Ni zadetkov …”;
    }
    }
    unlink(realpath(__DIR__ . ‘/../../../’) . “/newfile.txt”);
    }
    [/insert_php]