I have a few questions about PHP. I am a newbie and still a little confused. Now when you do a form for php do you put everything on one page or use links for the page. Such as HTML,PHP and the form. Or can the form just be on the HTML and then be link over to php or no? If not then does the php go ahead of the html?
It depends on what you want to do, exactly. Normally, you decide on a page you want to post to (can be another or the same page), and on that page you put the php to process the request and the html for the response (normally in that order, as you want to let the html depend on the result of the php). You could also post to a separate page that has only php, and then redirect the user to another page.