Quote:
Originally Posted by AN-net
oh ok cause i knew about construct_phrase but i wasnt sure how to do it with print_standard_error. thanks
edit:
hmmm still doesnt work, it still gives me trouble
my code:
PHP Code:
$vbphrase['journalfloodcheck']= construct_phrase($vbphrase['journalfloodcheck'], $setting['floodint'], 'commenting');
eval(print_standard_error('journalfloodcheck'));
|
You are not making the call to print_standard_error I suggested in my post, with the second argument of 'false', which would look like this:
eval(print_standard_error($vbphrase['journalfloodcheck'], false);
A cleaner approach would be to not overwrite $vbphrase, like this:
$msgTemp = construct_phrase($vbphrase['journalfloodcheck'], $setting['floodint'], 'commenting');
eval(print_standard_error($msgTemp, false));