Seite 1 von 1

Was muss ich für ein Post übergeben ?

Verfasst: 21.02.2009 22:49
von monsterkiller
Hallo.
Ich schreibe gerade ein Newsscript.
Es funktioniert auch alles gut.
Nun möchte ich eine Kommentarfunktion einbauen.
Also der ganze Newspost, kommt dann ins Phpbb.
in dem Forum "news"
Eingetragen wird auch schon. Aber nicht alles, und der Topic wird nicht angezeigt.
mein jetziger code:

Code: Alles auswählen

$forum = "INSERT INTO phpbb_posts (forum_id, topic_id, post_text, poster_ip, post_subject) VALUES ('".$topic."','".$text."','".$ip."','".$titel."')";
mysql_query($forum) OR die("<b><br /><br /><font color=\"red\">Eintrag(PHPBB) Fehlgeschlagen!</b></font>");
bitte helft mir!

Re: Was muss ich für ein Post übergeben ?

Verfasst: 22.02.2009 11:16
von Dr.Death
Hallo,

schau Dir mal diesen Wiki Eintrag ( engl. ) an: http://wiki.phpbb.com/Parsing_text#Inse ... _to_the_DB