Menu

Undefined index: rows ?????????

Help
Anonymous
2002-10-24
2002-10-25
  • Anonymous

    Anonymous - 2002-10-24

    Everything works fine and I am able to use the template and loop rows through it. But I still get this error which doesnt seem to have any negative impact on the outputted HTML.

    Error Reads:
    Notice: Undefined index: rows in ......template.inc on line 213

    Dont get it? If I dont have an index then how is my array functioning to in turn loop through my rows.

    Looks to me like I just need the message to go away.

    Any help. thanks.

     
    • Joe Stewart

      Joe Stewart - 2002-10-25

      The version of the template class predates the widespread use of   reporting all errors and notices (E_ALL) in PHP.

      In this case you can download a newer version of template.inc:

      http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/phplib/php-lib-stable/php/template.inc

      You may run into this again with other scripts though, so I suggest looking into how to change your error reporting level to ignore notices (E_ALL & ~E_NOTICE)

       

Log in to post a comment.