![]() |
[SQL]Little problem
I dont know why but when im trying to SELECT answer1 and answer2 from user_auth allways its blank result!.
Code:
$query = "SELECT account, password, answer1, answer2 FROM user_auth WHERE account = 'account'"; |
EDIT:
Sorry my mistake. It's just for the fact it's binary. Binary cannot be displayed just like passwords. |
There is no way for you to see passwords from there.
|
Code:
function Mbin2string($binstr) |
It's just:
PHP Code:
|
I dont want to see the password (becaouse its impossible). I only want to see the row info. But my question its why all the time gives blank results.
PS: I use this to compare function (its a page for change password, I add to compare the $_POST['answer1] to compare with the answer1 in user_auth. Code:
$answer1_e = '0x' . bin2hex($respuesta1); |
Quote:
its like.. PHP Code:
|
Quote:
Code:
WHERE account = '".$_POST['account']."' AND |
Yes I know but for now its for test. After I test I Put this L2cp modded function:
Code:
function seguridad1($strh) {PS: I dont know but the array for the query always its blank result!!. |
Quote:
Quote:
Try using something like this: PHP Code:
|
| All times are GMT. The time now is 21:56. |