Generally: debugging php $_POST
<p>I am wondering what is the best approach for debugging a <code>$_POST</code> PHP function, I seem to be losing data and the URL looks like a <code>$_GET</code>, I don't want to post the code as I want to learn how to properly debug PHP code if there is somewhat of a recipe on how to do this/some general guidelines I would appreciate them.</p>

<p>In short: After doing some reading for (oh about 8 hours trying to figure this out) I am really lost, what are the do's/don'ts?</p>
