- Code: Select all
if($do_post)
{
mysql_query("INSERT INTO forum (name,contents,user,mid) VALUES ('$p_name','$p_contents','$p_user','$p_mid')");
header("Location: $PHP_SELF");
}
and it works really great in most cases, I honestly don't have a clue why it refused to work with some posts. Check it out on:
http://www.clan-elite.dot.nu/
if you need more info, please say so =)
thnx in advance,


Some chars you have to escape before inserting into yur database 