【发布时间】:2023-12-31 00:16:01
【问题描述】:
HTML
<input type='text' name='title[]' value='Some word and another'>
PHP
$title = $xpath->query('//input')->item(0);
echo $title = $title->getAttribute('value')
结果
一些
我需要得到
一个字一个字
问题 出于某种原因,第一个空格之后的所有内容都被删除了..
【问题讨论】: