简体   繁体   中英

Expanding included files in PHP

I am trying to run a PHP script and getting error on lines 162, 197 etc. whereas the page has only 60 lines. I have included 5 other pages in the master page. Have used require_once to include them. Is there a way I can expand them and see where the problem is?

I use Notepad++ for editing my code.

Regards, Himanshu Joshi

Simple fix. You need to pay more attention to the PHP error messages.

It says lines 162 and 197 of what files?

If you only see numbers 162 & 197, then somefile is (at line 162) calling/loading some other code in line 197 of theotherfile .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM