Use html, php and code tags when posting code.
The action attribute takes a URI, not a local file path, since the user's browser wouldn't know where that is (it certainly isn't on their computer).
mpinter09;11008407 wrote:
<form name="countyform" action="C:\Users\Robotman\Desktop\WEBSTUFF\countylist.php" method="get">
maestro6435;11008413 wrote:
And why not use POST instead of GET.
Because the HTML spec (at least pre 5, and I doubt it's changed) specified usage recommendations for GET and POST requests. GET requests are to be used for requests that are idempotent, i.e. they will always provide the same result after the first time it's issued. If sending the form multiple times would mean storing new data on each request, then it should be a POST request. In this case however, a URL is created which will always yield the same result, and thus that page can even be bookmarked, which wouldn't be possible if a POST request was used. Moreover, the POST request would have to always be berformed, whereas the GET request might not have to (depending on cache headers).