Reputation: 63
When I run the bellow php code & fill all data and submit it I get blank page, so where the problem here ?
<br><br>
Create New User :
<br><br>
<table width="90%" border=0><tr><td>
<FORM ACTION="user_login.php" METHOD=POST>
<INPUT TYPE=HIDDEN NAME=p_action VALUE="Create_New_User">
Username : <br><INPUT TYPE=TEXT NAME=p_in_username SIZE="25"> <BR>
eMail : <br><input type=text name=p_in_email size="25"> <br>
<br>
<input type=submit value="Submit">
</FORM>
<?php
?>
Upvotes: 0
Views: 443
Reputation: 844
please check your PHP configuration, is errors and warnings are ON ? it will be better if you share you php code.
Upvotes: 0
Reputation: 7624
When you submit the form, you will be redirected to the page defined in the 'action' value of your form. In this case: "user_login.php". I assume, you are then not redirecting from there.
Try adding a:
header("location: index.php");
And replace index.php with where you want to redirect to.
Upvotes: 1