变量$a的字符数有1万多,但是在<span title={$a}></span>这个里只看到很少一部分,请问要怎样才能看到全部?
------解决思路----------------------
浏览器会自动截取的。
<?php
$title = '';
for($i=0; $i<10000; $i++){
$title .= '山';
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title> New Document </title>
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
</head>
<body>
<span title="<?php echo $title; ?>">abc</span>
</body>
</html>