No, Im just using that as an example. Here is the sequence...
I go to the main /index.html page (home page) which has a simple form for input.
I enter a string and hit the submit button.
The index page sends that info to my /task.php page on the server which posts the input to
mysql also on the server.
The php page sends an echo (only because I programmed an echo in there which may be the
problem) which prints on a new browser page, taking me off the original main page.
I want to make sure that when someone hits the submit button on the main page that they dont leave the main page.
Now here are my thoughts. I suppose if I program php to return some html info it will have to put it on a new page. However, if the php page sends no html info maybe it will have no reason to leave the original calling page.
I will have to remove that echo statement and test that theory. What are your thoughts. Am I thinking right?