[ic] Get item-field title into variable
Sergey Sheykin
sheich@mosinfo.ru
Mon, 19 Mar 2001 18:50:02 +0300
Hi,
when I use like:
[perl arg=scratch interpolate=1]
$title="[item-field title]";
[/perl]
...
[query
query="
insert into orderline (code,description)
values(
'1',
'[scratch title]'
)
"][/query]
if in field TITLE meets quota(") symbol - this calls an error.
(in $title="[item-field title]";)
How can I set to variable value from session(form)?
I think, this is some like:
[perl arg=scratch interpolate=1]
$Safe{'scratch'}{'var'}=$Safe{'session'}{'item-field title'};
[/perl]
but this not work...
How I can do this?