Force a POST

Force a POST

Hi everyone,

I have a PHP function that queries data from MySQL table.
In order for it to work a POST needs to occur, because I
Really haven't figured out how to do this another way.
So, how can I force a POST from my JavaScript?

Example:

PHP code
{
....
}

<script>
JavaScript code

Force POST

</script>

I don't know if this make sense, but Let me know if there's a better way?

Thanks Neil