$MyName = $_POST['MyName'];
HOw can I do a check to prevent errors on this if nothing is posted?
The same way you check any other variable to see if it's set. [man]isset[/man]