Modified the XMLHTTP send so that is will send the correct data to emar_post.php. I also started setting up the recieve in the emar_post.php file.