So I can't get this to work...
It just prints out the first item of the list.
SearchPhrase should contain
"blue yellow red"
and I want it to return
the list
"blue" "red " "yellow"
Cheers,
Winton
<sql $sqlcommand>
START: $SEARCHPHRASE
<split " " $SEARCHPHRASE>
<$SEARCHPHRASE = $ret >
<sort $SEARCHPHRASE>
<$SEARCHPHRASE = $ret >
<LOOP $SEARCHPHRASE>
$SEARCHPHRASE
</LOOP>
END
</sql>
It just prints out the first item of the list.
SearchPhrase should contain
"blue yellow red"
and I want it to return
the list
"blue" "red " "yellow"
Cheers,
Winton
<sql $sqlcommand>
START: $SEARCHPHRASE
<split " " $SEARCHPHRASE>
<$SEARCHPHRASE = $ret >
<sort $SEARCHPHRASE>
<$SEARCHPHRASE = $ret >
<LOOP $SEARCHPHRASE>
$SEARCHPHRASE
</LOOP>
END
</sql>