Hi Frank,<br><br>Yes, i did print_r($_POST) and it holds the right value.<br><br>I tried<br>if ($_POST['mode'] == "nquery") {<br>&nbsp;&nbsp;&nbsp; echo "Test mode";<br>}<br>and it works. So, i guess it's not the $_POST that went wrong.<br><br>But when i replace the echo statement with the AddPoints(), it just won't work. I also did print_r the array that is supposed to be the input for the function. And it holds the right values as well. Someone on the irc told me about the global $_POST, but it's no use. I'm totally lost :D<p>&#32;

<hr size=1>No need to miss a message. <a href="http://us.rd.yahoo.com/evt=43910/*http://mobile.yahoo.com/mail
">Get email on-the-go </a><br>with Yahoo! Mail for Mobile. <a href="http://us.rd.yahoo.com/evt=43910/*http://mobile.yahoo.com/mail
">Get started.</a>