Well here's what I got, basically a button is clicked and the following code is executed:
Readthis = "MonsterRequest.php?id=<?php echo $_REQUEST['id']; ?>&Mon=";
TestVar = TestVar.replace(/\s/g, "");
Readthis = Readthis + htmlencode(TestVar);
$('#CenterPiece').load(Readthis);
Everything seems to work as intended except for when passed to Monsterequest.php, the post isn't being passed onto it's self and the page basically reloads it's self as it was being passed onto the main parent...(I was unsure if it was but monsterrequest.php seems to work perfectly fine on it's own however when loaded it doesn't work as intended at all and I'm completely stumped. I basically want to post data without having the page reloaded.
Monsterrequest.php: http://pastebin.com/fiFjjBZg
Are you familiar with AJAX? Forgive me if you know this already, but in case you don't:
Ajax posts data to an external php file, which processes the data it receives, and sends back an answer. It looks like this:
FILE #1:
FILE #2: receiving_file.php
Use jQuery's
$.post(...)
Cheers