Answer the question
In order to leave comments, you need to log in
How to change form on click?
I made 2 forms (login and registration
) :
Zhmyak
Answer the question
In order to leave comments, you need to log in
index.php from line 21 replace with
<?php
if($_SERVER["REQUEST_METHOD"] == "GET")
if(isset($_GET["registration"]))
require("parts/registr.php");
else
require("parts/login.php");
?>
<a href="?auth">Аuthorization</a>
Because you didn't include js in the question tags...
https://codepen.io/aliencash/pen/wyXPwJ?editors=1100#0
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question