php
Blank page after submission on PHP Sign up form
I have been close to finding my error but I can't... please help me with the problem I have with my PHP signup form - I have signup page, index page, login page and logout page and I set redirect statement as below; $error = array(); $error[] = "each time false is returned print some message here"; if (count($error) === 0) { header('location: ./login.php'); (I wish I could paste the whole page code and I don't even know where the problem really is...) When I click submit button on signup form, it goes to a blank page and when there is an error it shows on the blank screen but when the signup is successful it doesn't show anything and stay on the blank page. My HTML is like this <h3>Please enter username and password to sign up</h3> <form action="./signup.php" method="post"> Username: <input type="text" name="username" placeholder="User name"><br> Password: <input type="password" name="password" placeholder="Password"><br> <input type="submit" value="Sign up"> </form> Can you tell what could be the problem? Thanks so much for the help in advance...
Related Links
convert html image to base64
Combine php array duplicate values
How to sort array keys by other array keys? [duplicate]
Laravel4 memory consumption concerns
PDO: Can't connect to mysql when host is set in variable
CSS #import not working with PHP
Wordpress: Display all pages
Insert values from function php in database mysql
WooCommerce coupon code per line item
Datetime ISO 8601
Website design using html and php(no javascript/jquery/ajax) [closed]
Getting no response on Zoho API CRM
Get summed value from specific rows
how to use $_FILES[] with slim
Set Background Image from Custom Meta in WordPress
Email Sending error mail() function