Tags: php

08/03/10

Categories: Website Design

PHP Turn On Error Reporting

To turn on Error Reporting in PHP, this is what I use. You can set this anywhere in your PHP code, but it has to be above the error or else it will not work. This is the easiest way and will work in most hosting environments: ini_set('display_errors',1… more »
Categories: Website Design

PHP Error Output Notice: Use of undefined constant Y - assumed 'Y' in

When using PHP to automatically insert the year for your copyright footer make sure and use 'Y' instead of Y For example use <div>     &copy; <? echo date('Y');?> Cleveland Consulting Group. All Rights Reserved</div> instead o… more »
While using this site, you agree to have read and accepted our terms of use and privacy policy.
© 2012 Cleveland Consulting Group. All Rights Reserved