dco*_*bus 6 coldfusion coldfusion-8
我试图找出url变量是否存在,如果不存在,请确保它不是空的.
这不起作用:
<cfif IsDefined('URL.affiliateId') and is not "">
//
</cfif>
Run Code Online (Sandbox Code Playgroud)
scr*_*ler 15
<cfif structKeyExists(url, 'affiliateID') and trim(url.affiliateID) neq "">...</cfif>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
15589 次 |
| 最近记录: |