开发者

What does this mean exactly? $_SESSION['sessionName '][$item['rowName ']]

And how does it translate to in C#?

$ite开发者_Go百科m holds the results from mysql_fetch_array()

I'm not really familiar with PHP so this is all new to me. Thanks.


$_SESSION is a superglobal that stores session data in an associative array, see http://php.net/session.

In your example, the value at $_SESSION['sessionName'] is apparently an array itself, which is indexed into with the value of $item['rowName'] which smells like a string.

To simplify the expression, you could define these variables:

$sessionName = $_SESSION['sessionName'];
$rowName = $item['rowName'];

And then we could say that your example code is equivalent to

$sessionName[$rowName]
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜