hey hey... i don't agree...
the notice say that these constant are undefined, so it will assume their name...
look at this...
Quote:
$cekilecek_thread_id=$news[$i][threadid];
|
and this...
Quote:
Notice: Use of undefined constant threadid - assumed 'threadid' in c:\inetpub\wwwroot\moodle\newsconfig.php on line 64
|
the parser assumed [threadid] is ['threadid'] isn't it? why just replace [threadid] with ['threadid']... the notice sure will gone...
btw, disable the error on production site is the general rule, instead use an error log... but let's think... if somewhere in the app, there's some constant named [threadid] defined before this code line... i'm sure it will mess up the result...
every parser error messages are bad... [notice] is just not as bad as [error]
^_^