richardmux Posted December 31, 2013 Share Posted December 31, 2013 Hi i need help with the below i am trying to make.. i took a registration script from : http://www.wikihow.com/Create-a-Secure-Login-Script-in-PHP-and-MySQL i have followed it and reached a point where i need to register a user and when i go to registration.php i dont get the forms.. i think something is wrong with the below.. <form action= "<?php echo esc_url($_SERVER['PHP_SELF']);?>" method="post" name="registration_form"> Username: <input type='text' name='username' id='username' /><br> Email: <input type="text" name="email" id="email" /><br> Password: <input type="password" name="password" id="password"/><br> Confirm password: <input type="password" name="confirmpwd" id="confirmpwd" /><br> <input type="button" value="Register" onclick="return regformhash(this.form, this.form.username, this.form.email, this.form.password, this.form.confirmpwd);" /> pls help to advise.. Quote Link to comment https://forums.phpfreaks.com/topic/285003-need-help/ Share on other sites More sharing options...
Ch0cu3r Posted December 31, 2013 Share Posted December 31, 2013 (edited) when i go to registration.php i dont get the forms. What do you mean by this? Are you getting a blank screen? If you are then there is a PHP error preventing the page from loading. To see the error either look in your servers error log or enable error_reporting by adding the following two lines at the top of your script ini_set('display_error', 1); error_reporting(E_ALL); Post the error(s) here if you are not sure how to fix them. Edited December 31, 2013 by Ch0cu3r Quote Link to comment https://forums.phpfreaks.com/topic/285003-need-help/#findComment-1463418 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.