Trouble with a form.. [resolved]
PHP Code:
function showPostNews()
{
$font="<font face=tahoma size=2 color=#FFFFFF>";
echo "</center \><form action='index.php?page=postn' action='post' \>" .
"$font Title: <input type=text name=title \><br \>" .
"$font Content: <textarea cols='90' rows='10' name='contents' /></textarea \><br \>" .
"$font Access Level*: <input type=text name=acclvl \><br \>" .
"<input type=submit value=\"Post News\" \>";
}
I'm invoking the function like this:
PHP Code:
case "postnews":
showPostNews();
break;
No matter what I do (and only for this 1 form), the form tries to pass the data via the url and not via post.