Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/270.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 使用while循环回送mysql\u fetch\u行超过1行?_Php_Javascript_Mysql_Ajax - Fatal编程技术网

Php 使用while循环回送mysql\u fetch\u行超过1行?

Php 使用while循环回送mysql\u fetch\u行超过1行?,php,javascript,mysql,ajax,Php,Javascript,Mysql,Ajax,我不知道那个信息是什么意思。有什么想法吗?隐藏在大量文本中的是: ["<br /> <font size='1'><table class='xdebug-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'> <tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-col

我不知道那个信息是什么意思。有什么想法吗?

隐藏在大量文本中的是:

["<br />
<font size='1'><table class='xdebug-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000", " color: #fce94f", " font-size: x-large", "'>( ! )</span> Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in C:\wamp\www\Final\loglog.php on line <i>6</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0005</td><td bgcolor='#eeeeec' align='right'>673672</td><td bgcolor='#eeeeec'>{main}(  )</td><td title='C:\wamp\www\Final\loglog.php' bgcolor='#eeeeec'>..\loglog.php<b>:</b>0</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0117</td><td bgcolor='#eeeeec' align='right'>680760</td><td bgcolor='#eeeeec'><a href='http://www.php.net/mysql_fetch_row' target='_new'>mysql_fetch_row</a>
(  )</td><td title='C:\wamp\www\Final\loglog.php' bgcolor='#eeeeec'>..\loglog.php<b>:</b>6</td></tr>
</table></font>
"]

这意味着您的查询失败(返回false)。否则,这应该是可行的

隐藏在大量文本中的是以下内容:

["<br />
<font size='1'><table class='xdebug-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000", " color: #fce94f", " font-size: x-large", "'>( ! )</span> Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in C:\wamp\www\Final\loglog.php on line <i>6</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0005</td><td bgcolor='#eeeeec' align='right'>673672</td><td bgcolor='#eeeeec'>{main}(  )</td><td title='C:\wamp\www\Final\loglog.php' bgcolor='#eeeeec'>..\loglog.php<b>:</b>0</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0117</td><td bgcolor='#eeeeec' align='right'>680760</td><td bgcolor='#eeeeec'><a href='http://www.php.net/mysql_fetch_row' target='_new'>mysql_fetch_row</a>
(  )</td><td title='C:\wamp\www\Final\loglog.php' bgcolor='#eeeeec'>..\loglog.php<b>:</b>6</td></tr>
</table></font>
"]

这意味着您的查询失败(返回false)。否则,这应该是可行的

这意味着您的
mysql\u query()
返回了
false
,因此SQL查询无法执行。这就是为什么您经常会找到
mysql\u query($query)或die()
构造,专门用于处理此
false
返回值。这意味着您的
mysql\u query()
返回了
false
,因此SQL查询无法执行。这就是为什么您经常会找到
mysql\u query($query)或die()
构造,特别是用来处理这个
false
返回值的。
Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given