0

我想用以下php代码过滤变量。

if(empty($cell) || $cell ==' ')
{
    $cell = "<input type ='text'></input>";
}

我肯定知道$cell等于&nbsp;only,但我不明白为什么我没有得到input texts field输出。

任何人都可以帮助我吗?

4

1 回答 1

-1

您忘记在您的条件内回显 $cell 。:)

于 2013-08-02T00:00:20.017 回答