<?php $tytul=$_POST['tytul']; $id_user=$_SESSION['id_user']; }else{ echo "<form method='post'> Tytuł: <input type='text' name='tytul' /><br /> Opis: <textarea cols='40' rows='20' name='opis'></textarea><br /> <input type='submit' name='ok91' /> </form>"; } }else{} ?>
czy coś tutaj jest źle?
CREATE TABLE IF NOT EXISTS `t_news` ( `id` int(11) NOT NULL AUTO_INCREMENT, `tytul` text COLLATE utf8_unicode_ci NOT NULL, `opis` text COLLATE utf8_unicode_ci NOT NULL, `data_dodania` text COLLATE utf8_unicode_ci NOT NULL, `kto` int(11) NOT NULL, UNIQUE KEY `id` (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=0 ;