Parse error: syntax error, unexpected T_DO, expecting ';' in解决办法

WBOY
Release: 2016-06-13 13:27:38
Original
1176 people have browsed it

Parse error: syntax error, unexpected T_DO, expecting ';' in
提示这里错了。for ( ; do { $i
要怎么改?谢谢


PHP code
<!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

-->$sokey = split( "\\|", $sokey );
$sort = "";
if ( $rewrite == 1 )
{
                $i = 0;
                for ( ;    do { $i 
Copy after login
".$indexfenlei[3][$i]."
"; $sort .= "".$indexfenleix[3][$i]." "; $sort .= "".$indexfenleix[6][$i]."
"; break; } } while ( 1 ); } else if ( $rewrite == 2 ) { $i = 0; for ( ; do { $i
".$indexfenlei[3][$i]."
"; $sort .= "".$indexfenleix[3][$i]." "; $sort .= "".$indexfenleix[6][$i]."
"; break; } } while ( 1 ); }

------解决方案--------------------
$i = 0;
for ( ; do { $i

//================
$max=count($indexfenlei[1]);
for($i=0;$i
这样?


------解决方案--------------------
do是毛。。
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