change password
<?php if(isset($_POST['change'])) { include"include/connection.php"; $query='select * from enabler_register where username="'.$_SESSION['username'].'"and password="'.$_POST['pass'].'"'; $res=mysqli_query($con,$query); if(mysqli_num_rows($res)>0) { if(strlen($_POST['pass1'])>=6) { if($_POST['pass1']==$_POST['pass2']) ...