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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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)