MYSQL Tablo çözümlenmiş STRING saklanması

0 Cevap php

Ben (MySQL kullanarak) bir dize çözmek ve mysql veritabanına isert çalışıyorum.

When i'm in the webpage for phpmyadmin utility and inside the table page, using the SQL Tab. and using the following INSERT:

INSERT INTO `usercake_users` (`User_ID`,`Password`) VALUES (111,ENCODE("b8e3-3adc846d70a8","key101"))

Sonuçlar Tamam!

izlenerek ve daha:

SELECT `User_ID` , DECODE( `Password` , "key101") 
FROM `usercake_users` 
WHERE 1 
LIMIT 0 , 30

Ben gerçek STRING alabilirsiniz.


When i'm using php CODE to do that, the results are BAD! I'm unable to get the original string from the Database.

Please advice. Avi

0 Cevap