Posted by Jerry Stuckle on 03/04/07 19:38
Mike Russell wrote:
> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
> news:D7SdnUh_D595V3fYnZ2dnUVZ_rmdnZ2d@comcast.com...
>> Mike Russell wrote:
>>> You are missing the semi-colon after $_GET['newpoet']
>>>
>>> To find problems like this, turn on diagnostics by adding this to the
>>> start of your php files:
>>> <?
>>> ini_set("display_errors","1");
>>> error_reporting(E_ALL & ~E_NOTICE);
>>> ?>
>> Since this is a syntax error, these will have absolutely no effect. The
>> error occurs during during parsing and before any statements are executed.
>
> Well, then perhaps the part of my post that you deleted would be useful :-)
> A debug environment will find errors like this instantly.
One doesn't need a debug environment to find errors like this. Simply
enabling error displays in the php.ini or .htaccess will do it just as well.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|