$array = array(
array(
'key1',
'text 1 text 1 text 1'
),
array(
'key2',
'text 2 text 2 text 2'
),
array(
'key3',
'text 3 text 3 text 3'
)
);
对不起标题,没有例子很难解释。
用户想要阅读一些文本。例如, 的文本key2
。因此,当输入为 时key2
,我想显示文本:text 2 text 2 text 2
。
但是如何使用 PHP 选择该文本?