session_start(); @$vysl = MySQL_Connect("localhost", "dobryfutoncz", "futon07"); if ($vysl) { MySQL_Select_DB("dobryfutoncz"); MySQL_Query("SET NAMES cp1250"); // ** vstupy/vystupy ve Win1250 ** @$vysl2 = MySQL_Query("SELECT * FROM pocitadlo WHERE id=1"); $rad2 = MySQL_Fetch_Array($vysl2); @$vysl3 = MySQL_Query("UPDATE pocitadlo SET pocet=".($rad2["pocet"] + 1)." WHERE id=1"); if (!isset($_SESSION['pocit'])) { @$vysl3 = MySQL_Query("UPDATE pocitadlo SET realne=".($rad2["realne"] + 1)." WHERE id=1"); $_SESSION['pocit']=0;; } } ?>