Home >Backend Development >PHP Tutorial >title显示有关问题

title显示有关问题

WBOY
WBOYOriginal
2016-06-13 12:13:551032browse

title显示问题
变量$a的字符数有1万多,但是在这个里只看到很少一部分,请问要怎样才能看到全部?
------解决思路----------------------
浏览器会自动截取的。

<br /><br /><?php<br />$title = '';<br />for($i=0; $i<10000; $i++){<br />    $title .= '山';    <br />}<br />?><br /><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><br /><html><br /> <head><br />  <meta http-equiv="content-type" content="text/html; charset=utf-8"><br />  <title> New Document </title><br />  <meta name="Generator" content="EditPlus"><br />  <meta name="Author" content=""><br />  <meta name="Keywords" content=""><br />  <meta name="Description" content=""><br /> </head><br /><br /> <body><br />  <span title="<?php echo $title; ?>">abc</span><br /> </body><br /></html><br />


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn