<?php $id=$_GET["id"]; $sql="select * from news where id_n=$id"; $login_kto = $row['kto']; if ($uzytkownik2['ranga'] == 1) { } else { } echo ' <form action="" method="POST" enctype="text/plain"> <input name="autor" value="'.$row['autor'].'" /><br> <input name="tytul" value="'.$row['tytul'].'"/><br> <input name="link" value="'.$row['link'].'"/><br> <input name="tresc" value="'.$row['tresc'].'"/><br> <input type="submit" name="ok" value="Wyślij formularz" /> </form> '; } else { } ?>
kod ma zaupadtowac dane z formularza. Problm jest taki ze nie udatuje sie i
<input name="autor" value="'.$row['autor'].'" /><br>
<input name="autor" value="'.$row['tresc'].'" /><br>
takjakby nie działały poniewaz niby ma sie w srodku nich pojawic tekst pobrany z bazy a nie pojawaia sie a w innych tak