the query is
$sql = "update students set status = 'active', student_password='{$password}' where student_id ='".$_GET['id']."'";
it showing the result as
update students set status = 'active', student_password='50d0d53f546b7' where student_id ='112s23dd'
the error comes
Unknown column '112s23dd' in 'where clause'
when i put any int value in the where clause it works fine but not working in the charecter
the student_id is primary key varchar(30)
one more strange thing this is working on phpmyadmin when i paste it there but not work when i execute this on webpage
desc studentsbecause that's not normal...Try with "status"