| View previous topic :: View next topic |
| Author |
Message |
samir
Joined: 12 Nov 2007 Posts: 260
|
Posted: Wed Dec 17, 2008 12:31 pm Post subject: How to show the code errors in the same working page in php |
|
|
hi,
i want to display the errors in coding in the same working page in php |
|
| Back to top |
|
 |
samir
Joined: 12 Nov 2007 Posts: 260
|
Posted: Wed Dec 17, 2008 12:33 pm Post subject: |
|
|
hi ,
we can use the following 2 lines of code to view the code errors of the current page in php:
At the beginning of the php code just add
error_reporting(E_ALL);
ini_set('display_errors', '1'); |
|
| Back to top |
|
 |
|