On 24/05/05, J Cameron Cooper <[EMAIL PROTECTED]> wrote:
> Personally, I'd probably just do something like::
> "{1,2,3}"[1:-1].split(',')
This code works as expected... Thanks! :)
--
Fernando Lujan
___
Zope maillist - Zope@zope.org
http://mail.zop
Fernando Lujan wrote:
I think you are close. Change to
?
It's working like IN over a string, e.g. the [5,61] will make selected
the number 5,6 and 61.
Where id_test is the result of the database query wich return in this
format: {1,2,3}. I modify it to a (1,2,3) and fi
On 24/05/05, David H <[EMAIL PROTECTED]> wrote:
> >I have a array data type in my DB wich have the following format :
> >{1,2,3} ( ids_test ). Now in my web application, I have a multiple
> >select wich options must be marked as selected if the number is in the
> >array described above. How can I
Fernando Lujan wrote:
Hi,
I have a array data type in my DB wich have the following format :
{1,2,3} ( ids_test ). Now in my web application, I have a multiple
select wich options must be marked as selected if the number is in the
array described above. How can I make the above format be conve
Hi,
I have a array data type in my DB wich have the following format :
{1,2,3} ( ids_test ). Now in my web application, I have a multiple
select wich options must be marked as selected if the number is in the
array described above. How can I make the above format be converted to
a list of element