[ecmsinfo]'select * from [!db.pre!]ecms_js where checked=1 and id=2 limit 1',1,0,0,24,10,1[/ecmsinfo] 这样能够正常读取。
但我现在想把这个标签放到内容页模板里,并降id后的值改成自动获取的变量: [ecmsinfo]'select * from [!db.pre!]ecms_js where checked=1 and id=[!--id--] limit 1',1,0,0,24,10,1[/ecmsinfo]
这样为什么不能读取??
|