【发布时间】:2010-02-21 21:19:39
【问题描述】:
我想做这样的东西
my-php-file.php
$lang = 'es';
my-js-file.js
if ($lang == es)
{
something-magical-happens;
}
或者像这样:
if (URL == www.mydomain.com/index.php?lang=es)
{
something-magical-happens;
}
【问题讨论】:
标签: php javascript if-statement