Current Page: 1 of 1
Results 1 - 3 of 3
17 years ago
ali
When i use the code above i get this message: "Parse error: parse error, unexpected T_STRING" I don't understand why you say that the rigt way is "$password".
Forum: WampServer English
17 years ago
ali
That code has a syntax error too. I've tried this code in php: <?php $sql = "SELECT * FROM user WHERE name = " .$userName. " and pwd = password('" .$userPwd. "')"; $result = mysql_query($sql); ?> and i don't get a result.
Forum: WampServer English
17 years ago
ali
The problem is that qhen i do an sql querie like this "SELECT * FROM user WHERE name = $usrName and pwd = password('$password')" in phpmyadmin i get this message "MySQL returned an empty result set (i.e. zero rows)." I don't know what's wrong. Thanks in advance!
Forum: WampServer English
Current Page: 1 of 1