Heim > Backend-Entwicklung > PHP-Tutorial > echo数组单元的值不全解决方案

echo数组单元的值不全解决方案

WBOY
Freigeben: 2016-06-13 12:35:39
Original
1063 Leute haben es durchsucht

echo数组单元的值不全
数组的为

<br />
Array<br />
(<br />
    [title] => 初一上册数学测试题<br />
    [id] => 6<br />
    [subject] => 14<br />
    [parts] => [["单选","100",1]]<br />
    [topic] => [["1","100"]]<br />
    [json] => [["6","<p style='text-indent:28px;line-height:200%'><span style=';color:rgb(0,0,0);font-size:14px;font-family:<br />
    [#39;'>小红做一道数学题“</span><span_style] => ';color:rgb(0,0,0);font-weight:bold;font-size:14px;font-family:<br />
    [#39;'>两个多项式<span_style] => 'font-family:Times New Roman'>A</span><span style='font-family:宋体'>、</span><span style='font-family:Times New Roman'>B</span><span style='font-family:宋体'>,</span><span style='font-family:Times New Roman'>B</span><span style='font-family:宋体'>为</span></span><img  src='http://www.exam.com/Public/Js/Home/ueditor/themes/default/images/spacer.gif' word_img='file:///C:\Users\hp\AppData\Local\Temp\ksohtml\wps_clip_image-14927.png'   style="max-width:90%"  style="max-width:90%"  style="max-width:90%"/ alt=" echo数组单元的值不全解决方案 " ><span style=';color:rgb(0,0,0);font-weight:bold;font-size:14px;font-family:<br />
    [#39;'>,试求<span_style] => 'font-family:Times New Roman'>A B</span><span style='font-family:宋体'>的值</span></span><span style=';color:rgb(0,0,0);font-size:14px;font-family:<br />
    [#39;'>”。小红误将<span_style] => 'font-family:Times New Roman'>A B</span><span style='font-family:宋体'>看成</span><span style='font-family:Times New Roman'>A</span></span><span style=';color:rgb(0,0,0);font-size:14px;font-family:<br />
    [#39;'>-</span><span_style] => ';color:rgb(0,0,0);font-size:14px;font-family:<br />
    [#39;'>B<span_style] => 'font-family:宋体'>,结果答案(计算正确)为</span></span><img  src='http://www.exam.com/Public/Js/Home/ueditor/themes/default/images/spacer.gif' word_img='file:///C:\Users\hp\AppData\Local\Temp\ksohtml\wps_clip_image-30836.png'   style="max-width:90%"  style="max-width:90%"  style="max-width:90%"/ alt=" echo数组单元的值不全解决方案 " ><span style=';color:rgb(0,0,0);font-size:14px;font-family:<br />
    [#39;'>.</span></p><p_style] => 'text-indent:21px;line-height:200%'><span style=';color:rgb(0,0,0);font-size:14px;font-family:<br />
    [#39;'>(<span_style] => 'font-family:Times New Roman'>2</span><span style='font-family:宋体'>)求出当</span></span><span style=';color:rgb(0,0,0);font-style:italic;font-size:14px;font-family:<br />
    [#39;'>x</span><span_style] => ';color:rgb(0,0,0);font-size:14px;font-family:<br />
    [#39;'>] => 3<span style='font-family:宋体'>时</span><span style='font-family:Times New Roman'>A B</span><span style='font-family:宋体'>的值</span><span style='font-family:Times New Roman'>.</span></span></p><p><br/></p>",1,"100"]]<br />
    [total] => 100<br />
)<br />
Nach dem Login kopieren

我在打印其中的json键时,却没打印全,显示
<br />
[["6","<p style='text-indent:28px;line-height:200%'><span style=';color:rgb(0,0,0);font-size:14px;font-family:<br />
Nach dem Login kopieren

这是为毛,命名数组里都有,可是打印单独的值却显示不全,哪位大大能够指点迷津,不甚感激!!!

Verwandte Etiketten:
Quelle:php.cn
Erklärung dieser Website
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn
Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage