web_reg_save_param 左右边界中有双引号,怎么写才正确
关联相关脚本: <input type="hidden" name='did' id='did' value="415" />我现在要通过关联取得value里面的值,如415;
所写的脚本1: web_reg_save_param("did",
"LB=name='did' id='did' value=",
"RB= />"",
"NotFound=WARNING",
LAST);
运行后得到的值是“415”,连两个双引号都取下来了,
我需要取的值是415,所以再写脚本2:
web_reg_save_param("did",
"LB=name='did' id='did' value="",
"RB=" />"",
"NotFound=WARNING",
LAST);
结果编译报错,请问要怎么写呢? 用\转义 回复 2# szyszy2000
谢版主!
web_reg_save_param("did",
"LB=name='did' id='did' value=\"",
"RB=\" />",
"NotFound=WARNING",
LAST);
页:
[1]