title显示问题

WBOY
Release: 2016-06-23 13:41:49
Original
1164 people have browsed it

变量$a的字符数有1万多,但是在这个里只看到很少一部分,请问要怎样才能看到全部?


回复讨论(解决方案)

总得有个引号吧?

加了的,没写上去

为什么标题要显示那么多字符啊。

浏览器会自动截取的。

<?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>
Copy after login


我弄了一个按纽,点击按纽时才显示了,谢谢

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!