<?
$str1="Developed by a dermatologist,this in-depth consultation guides you through an expert evaluation of your skin and its needs. After you’ve completed the consultation, you’ll receive a customized product recommendation designed to help you get healthy-looking skin. The 11 questions will take approximately two minutes to answer.
"
$str2=chunk_split($str1,76,\r\n) ;
echo str2;
?>
显示不出正确结果哈,:/
Parse error: parse error in D:\web\Untitled-8.php on line 12(输出结果)
我理解这个函数的功能是把我提供的字符串按每76个字符进行分割
请高手再次指教
5#楼
回复人:一起PHP
注册时间:2004-02-27
主题/回复:247/1521
积分:4649
等级:★★★★★☆(十一级)
称号:论坛圣人
5#楼 发表于2005-03-18 01:01:37
评分:♂
...
郁闷,看看你的代码
----------------------
<?
$str1="Developed by a dermatologist,this in-depth consultation guides you through an expert evaluation of your skin and its needs. After you’ve completed the consultation, you’ll receive a customized product recommendation designed to help you get healthy-looking skin. The 11 questions will take approximately two minutes to answer.
"
$str2=chunk_split($str1,76,\r\n) ;
echo str2;
?>
----------------------------------
少了什么呢?说出来都能吓人一跳,少了“;”,分号!
$str1="Developed by..................." //这里少了分号吧~
$str2=......
一起PHP技术联盟 主办:一起PHP 联系方式:站长QQ:4304410 QQ群:8423742 20159565 站长博客 E-mail: nqp@nqp.me 执行时间:0.008sec
SimsmaBBS 2008 (v6.0) Developed by
17php.com,Copyright(C)2003-2010 All rights reserved.
副本授权:一起PHP官方专用版