Hi List,
I need to display data in fields and text-lists picked from a mysql
database.
I realized little functions to do this (they work properly), anyway, when I
use them in the layout I can't see nothing displayed. Why?
These are my functions:
modello: func [ targa ] [
dbport: open mysql://root:[EMAIL PROTECTED]/autodispa
insert dbport [ "select marcamodello from auto where targa = ?"
targa ]
mod: copy dbport
close dbport
return mod
]
interventi: func [ targa ] [
dbport: open mysql://root:[EMAIL PROTECTED]/autodispa
insert dbport [ "select * from intervento where targaauto = ?"
targa ]
interv: copy dbport
close dbport
return interv
]
and if I write:
field modello[targa/text]
or even this
text-list interventi[targa/text]
nothing is displayed
Please help me, I can't understand what's wrong with my code. Thank you,
Silvia
--
To unsubscribe from the list, just send an email to
lists at rebol.com with unsubscribe as the subject.