mama_vbulletin3_import41236
New Member
\[code\]<form name="form2" method="POST" action="post.php"><p>ba$lik: <input type="text" name="baslik" size="90"></p><p>spot kisa: <textarea name="spot_kisa"></textarea></p><p>spot uzun: <textarea name="spot"></textarea> </p><p>kategori: <select name='kategori'><? while ($kat=mysql_fetch_array($kategori)) { echo "<option value="http://stackoverflow.com/questions/2053536/.$kat[isim].">".$kat[isim]."</option>";} ?></select>tiklanma: <input type="text" name="tiklanma" value="http://stackoverflow.com/questions/2053536/0" size="20" /disabled"></p>tarih: <input value="http://stackoverflow.com/questions/2053536/<?php echo date("M j, Y - g:i"); ?>" name="tarih" /> i?erik: <textarea name="icerik"></textarea> <script type="text/javascript"> </script> <input type="submit" /> </form>\[/code\]and post.php values:\[code\]mysql_query("INSERT INTO yazilar (baslik, spot, spot_kisa, icerik, kategori, tiklanma, eklemetarihi)VALUES('$_POST[baslik]','$_POST[spot]','$_POST[spot_kisa]','$_POST[icerik]','$_POST[kategori]','$_POST[tiklanma]','$_POST[tarih]')");\[/code\]i need to add 2 picture links to table with upload form and insert db with post.php. two thumbnails with different size.thanks!!