prepare("SELECT text FROM konverents WHERE ID=?"); $kasklus->bind_param("i", $_REQUEST["id"]); $kasklus->bind_result($t); $kasklus->execute(); if($kasklus->fetch()){ //header("Content-type: text/plain"); if(strlen($t)>0){ echo $t; } else { echo "."; } } else { die("unknown id"); } $yhendus->close(); ?>