When executing a PHP page through browser , we will just get the output but not the errors in code.
how can i view the errors occurred by the code in the backend??>
Inside your php.ini, set the display_errors to On:
display_errors
On
display_errors = On
Then restart your web server.