I know there's a way to post a form to it's self, but how do I deduct weather or not the page was loaded by $post or $get (or however it's done)?
[RESOLVED] Using $post and $get?
not really sure what you are trying to say but anyway,
with <form method='get'> the input data by users will be shown in the url when the form is submitted. with <form method='post'>, no input data will be shown in the url.
with GET, you get input values by using $GET
with POST, you get input values by using $POST
Try
$_SERVER['REQUEST_METHOD']
Using;
IF ($_SERVER['REQUEST_METHOD'] == 'GET')
{
code
}
worked, so now onto the next project of setting cookies...