php新手i+1

WBOY
Release: 2016-06-13 13:51:10
Original
1152 people have browsed it

php新手求助i+1

PHP code
<!--

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

-->

while ( $db->next_record( ) )
{
$i++;//就这行报错
}

Copy after login

我想在上面循环中,i以1递增,上面这么写报错,求达人帮助。

------解决方案--------------------
这一行一般不会报错,即便是你没有定义$i
同时php也支持$i++ 所以你可以找找别的地方
------解决方案--------------------
报错信息是什么?
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