<form action="login.php" method="post">
Username: <input type='text' name ='username'><br>
Password: <input type="password" name='password'><br>
<input type="submit" value="Log in">
</form>
</body>
</html>
andyy121
-9
Junior Poster
Recommended Answers
Jump to Postcheck this :
<form action="" method="post" > name:<input name="fullname" size="25"> username:<input name="username" size="25"> password:<input type="password" name="password" size="25"> repeatpassword:<input type="password" name="repeatpassword" size="25"> <input type="submit" name="submit" value="Register"> </form> <?php if(isset($_POST['submit'])) { //form data $fullname = strip_tags (@$_POST['fullname']); $username = strip_tags (@$_POST['username']); $password= strip_tags(@$_POST['password']); $repeatpassword = strip_tags(@$_POST['repeatpassword']); $date =date("Y-m-d"); if …
Jump to PostWhen you click Register button it will bring you to login.php page which I assume is the code from your second post. Does that answer your question?
All 6 Replies
andyy121
-9
Junior Poster
andyy121
-9
Junior Poster
Morta
14
Newbie Poster
broj1
356
Humble servant
Featured Poster
Morta
14
Newbie Poster
James Donovan
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.