I have changed the form to post to itself. I have also tried keeping the form and processing in its own file as well as putting it all in one page. The problem I am having now is that when I use the include function it puts the new page below the table of the old one and this might be a problem with the way I have the page setup. Here is a generic form of the page
check for session
if a guest has been added by this member show them in a table
else say no guest
now underneath that show form which processes and then includes this whole page again so that the new guest will be put into the table.
Only problem like I said is that the new page is loaded underneath the old table from the orginal page.
Thanks