Hello,
I just started using PHP and having trouble with this simplet code:
<?PHP
If ($submit){
echo 'It worked!!';
}
?>
<form name="frmLogin" method="post" action="<?echo $PHP_SELF?>">
User Name:<br>
<input type="textbox" name="txtUsername" size="30"><br><br>
Password:<br>
<input type="textbox" name="txtPassword" size="30"><br><br><br>
<input type="submit" name="Submit" value="Login"><br>
</form>
I know, it's simple, but it doesn't work!! I just want to write "It worked!!" if the user clicked submit. One more question... I use to work with ASP and I was wondering if PHP is somewhat similar to it. Is there some major difference?
thanks,
Joël