php新手i+1

WBOY
WBOYOriginal
2016-06-13 13:51:101135browse

php新手求助i+1

PHP code
<!--

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

-->

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


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

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