Yes,I have just worked out ,thank you Jason.
-原始邮件-
发件人: Jason Wong [mailto:[EMAIL PROTECTED]]
发送时间: 08 January, 2002 16:46
收件人: [EMAIL PROTECTED]
主题: Re: [PHP] How to add a carriage return in the end when using implode?
On Tuesday 08 January 2002 14:18, Zhang, Leon (STHK/Zh) wrote
On Tuesday 08 January 2002 14:18, Zhang, Leon (STHK/Zh) wrote:
> $subdata has been changed before
>
> then $data[$index]=implode(",", $subdata); <--what should I
> change here ?
>
> rewrite the file like this :
>
> $data[$index]=$data[$index];
> $fp=fopen($datafile,"w+");
> $a=
$subdata has been changed
before
then
$data[$index]=implode(",", $subdata); <--what should I change
here ?
rewrite the file like this
:
$data[$index]=$data[$index];$fp=fopen($datafile,"w+");
$a=0;
do{ fputs($fp,$data[$a]);<--or
here?.
3 matches
Mail list logo