mysql DECODE question

From: Date: Mon, 11 Nov 2002 00:13:39 +0000
Subject: mysql DECODE question
Groups: php.general 
Request: Send a blank email to php-general+get-123730@lists.php.net to get a copy of this message
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 __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2

« previous php.general (#123730) next »