Help!! RE:mutilple select forms and ZSQL Method
We are trying to insert an values from a multiple select form into an SQL Database. Does anyone know how to handle arguments of type 'list' inside an SQL Method ? Thanks, ^..^ Erik ===== erik lacson net applications developer president ----------- eMerge Network Technology Solutions intranets * web business * virtual private networks http://www.emerge-tech.com | erik@emerge-tech.com __________________________________________________ Do You Yahoo!? Kick off your party with Yahoo! Invites. http://invites.yahoo.com/
Erik Lacson wrote:
We are trying to insert an values from a multiple select form into an SQL Database. Does anyone know how to handle arguments of type 'list' inside an SQL Method ?
You could use <dtml-in> over the argument or <dtml-var "_.string.join(argument),' something between the values in the statement') > ... But note, there might be anything inside the variable which would not be properly sql-quotet this way. Can be very securety riscy. Regards Tino Wildenhain
participants (2)
-
Erik Lacson -
Tino Wildenhain