if ($pridat != "") { $fp = fopen("book.txt", "w"); fwrite($fp, "book=$pridat", 102400); fclose($fp); } ?>