$q_new = "INSERT INTO `inbox_messages` (`sender_id`, `recipient_id`, `topic`, `message`) VALUES ('{$_SESSION['id']}','{$recp['id']}','{$_POST['topic']}','{$_POST['message']}'";
No i moje pytanie jest mysle proste - gdzie w tym zapytaniu jest blad?
Takie oto cudo otrzymuje w nagrode:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Z gory dziekuje za pomoc