Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

[ic] Get item-field title into variable



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?

_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users


Search for: Match: Format: Sort by: