spynode Posted May 3, 2004 Report Share Posted May 3, 2004 Vai juus luudzu nevareetu pateikt , kur shajaa skriptaa ir kljuuda ? Jo raksti netiek pievienoti. http://paste.php.lv/973 Link to comment Share on other sites More sharing options...
bubu Posted May 3, 2004 Report Share Posted May 3, 2004 1) formai method un action veertiibas jaaliek peedinjaas! 2) vai tavaa gadiijumaa ir uzstaadiita veertiiba: $_POST['koments'])) ? tb kuraa vietaa ir kaads input vai kas cits, kuram name="koments" ? 3) es to tavu insertu labaak rakstiitu shaadaa veidaa: mysql_unbuffered_query("INSERT INTO raksti (virsraksts,sakums,raksts,admins,admin_mail) VALUES ('".$_POST['virsraksts']."','".$_POST['iesakums']."','".$_POST['teksts']."','".$_POST['admins']."','".$_POST['admin_mail']."')") vai arii $query = sprintf("INSERT INTO raksti (virsraksts,sakums,raksts,admins,admin_mail) VALUES ('%s','%s','%s','%s','%s')", $_POST['virsraksts'], $_POST['iesakums'], $_POST['teksts'], $_POST['admins'], $_POST['admin_mail']); mysql_unbuffered_query($query); Link to comment Share on other sites More sharing options...
spynode Posted May 3, 2004 Author Report Share Posted May 3, 2004 Ok tnx. Vienas vienigas neuzmanibas kluudas. Link to comment Share on other sites More sharing options...
Recommended Posts