index.php
<div style="margin: 123px 0 0 310px; position: absolute; z-index: 3;">
<form action="login_portal.php" method="POST">
<input type="text" class="form" name="username"><br>
<input type="password" class="form2" name="password">
<div style="margin: 15px 0 0 330px; position: absolute;">
<input type="hidden" name="submit" />
<input type="image" src="images/login.jpg" alt="submit" width="200px"></div>
</div>
login_portal.php
echo "test";
if (@$_POST['submit']) {
echo "enter";
I wonder why I only see the word "test", and not "enter"? I thought I suppose to see the word "enter" also.