Dla zapytania:
mysql_query("INSERT INTO test_test VALUES(NULL, ".$_POST['nr'].", '".$_POST['tresc']."','".code($_POST['dobre'])."', '".code($_POST['zle'])."' )") or die(mysql_error());[/code]
Wywala mi Table ‘not4you_tk.test_test’ doesn’t exist.
Post dla testów daje mi taki form:
[code]
function code($z)
{return base64_encode(gzcompress(serialize($z)));}
function uncode($z)
{return unserialize(gzuncompress(base64_decode($z)));}[/code]
Tabela:
[code]|-------------------- | Kolumna | Typ | |-------------------- |//**id**//|int(11) | | nr |int(11) | | tresc |tinytext| | dobre |longtext| | zle |longtext| |--------------------