search

Home  >  Q&A  >  body text

Solve the web page array accumulation problem!!!

<?php 

$_html = array();

while (!!$_rows = $sqli->_fetch_array_list($_result)) {

$_html['id'] = $_rows['bg_id'];

$_html['fromuser'] = $_rows['bg_fromuser'];

$_html['content'] = $_rows['bg_content'];

$_html['gift'] = $_rows['bg_gift'];

$_html['date'] = $_rows['bg_date'];

$_html = _html($_html);

$_html['count'] = $_html['gift'];

?>

就这行    $_html['count'] = $_html['gift'];

出现

( ! ) Notice: Undefined index: count in D:\


██████2598 days ago913

reply all(1)I'll reply

  • php高级工程师

    php高级工程师2017-11-16 10:26:51

    Use the output method for troubleshooting. Can I help you check it remotely?

    reply
    0
  • Cancelreply