- 2
Php
Say what else is in this php code. line one by one <?php $uname="Griffin"; $pass="COS"; if (isset($_POST['uname'])){ $u=$_POST['uname']; if (isset($_POST['pass'])){ $p=$_POST['pass']; if ($uname==$u & $pass==$p){ echo ('successfuly loged in '.$u); }else{ echo 'incorrect details.'; } }} đđđđđđđđđđđđđđđđđ line one by one
1 RĂ©ponse
0
You need to have two '&' inside the if statement:
If($uname ==$u && $pass==$p)...