Re: [PHP] mysql DECODE question

2002-11-10 Thread rija
function : ENCODE('password', 'sec') ??? if so, show us, the script that allow you to record the password ? - Original Message - From: "Donahue Ben" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 11, 2002 11:13 AM Subject:

[PHP] mysql DECODE question

2002-11-10 Thread Donahue Ben
SELECT DECODE(ENCODE('password', 'sec'), 'sec') -> password When I try: SELECT DECODE(ENCODE('password', 'sec'), 'SUBSTRING("secret",1,3)'); or without quotes around SUBSTRING function This does not produce the same output, i am not sure what the problem is. Ben