Akopia Akopia Services

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

Re: [ic] [sql-param this_field_value]



At 03:30 PM 05/08/2001 +0400, you wrote:
>Hi,
>
>know anybody, how can I set [sql-param this_field_value] value
>to a perl-variable ?
>
>This :
>
>[perl arg="scratch" interpolate="1"]
>$this_field_value="[sql-param this_field_value]";
>$Safe{'scratch'}{'this_field_value'}=$this_field_value;
>[/perl]
>
>not work, if a value contains a quote(") simbol.

Try using generalized quoting:

$this_field_value=q{[sql-param this_field_value]};

- Ed L.



===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================

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


Search for: Match: Format: Sort by: