will someone please tell me why this script will not work:
user.php
<FORM METHOD="POST" ACTION="process.php?action=1">
<INPUT TYPE="text" NAME="username"><BR><BR>
<INPUT TYPE="submit" value= "Submit data">
</form>
process.php
<?
if($action == "1") { example1(); }
function example1(){
echo (" Welcome, " . $_POST["username"]);
}
?>
ive tried several, several different methods and none work. my host just upgraded to 4.2.0 and is a real pain!
thanks