skip to Main Content

Php – if(isset($_POST isnt properly calling my submit button and i cant find why

<body> <?php include("php/config.php"); if(isset($_POST['submit'])){ // $username =$_POST['username']; // $PASSWORD =$_POST['PASSWORD']; // $title =$_POST['title']; // $first_name =$_POST['first_name']; // $last_name =$_POST['last_name']; // $gender =$_POST['gender']; // $adress1 =$_POST['adress1']; // $postcode =$_POST['postcode']; $email = $_POST['email']; // $telephone =$_POST['telephone']; // $profile_blob =$_POST['profile_blob']; $verify_query = mysqli_query($con,…

VIEW QUESTION

Reactjs – When i used the useState in react Js for password show and hide on icon click there are not working?

import React,{useState} from "react"; function Password(){ const [pass,setPass] = useState("password") const handleclick =()=>{ setPass(("password")? "text" : "password") } return( <div> Password:<span style={{position:"relative"}}><input type={pass} name="" id="" /> <i onClick={handleclick} style={{position:"absolute", top:"6px" , right:"5px"}} class="fa-solid fa-eye"></i></span> </div> ) } export default Password;…

VIEW QUESTION
Back To Top
Search