You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc='test', keywords='test'' at line 2
kod:
$query_addprzepis = "INSERT INTO przepisy SET title='$title', text='$text', skladniki='$skladniki', kategoria='$kategoria', cena='$cena', st_trudnosci='$st_trudnosci', czas='$czas', zdj1='$zdj1', data=NOW(), desc='$desc', keywords='$keywords'"; $result = mysqli_query($dbc, $query_addprzepis)