"Chris" <dmag...@gmail.com> wrote in message
news:496bbd52.2080...@gmail.com...
> Frank Stanovcak wrote:
>> I posted this once before, and then tried to use it multiple times in a
>> script.  As you can guess I got a bunch of func already defined errors.
>>
>> Here is a revision incase anyone decided to use it that will work
>> multiple times in the same script for variable watching.
>>
>> -------Code follows-------
>> <?php
>> if(!function_exists(breakarray)){
>
> that needs to be quoted:
>
> if (!function_exists('breakarray')) {
>
> otherwise php will generate an E_NOTICE (I think) looking for a constant
> called breakarray.
>
> You do have error_reporting(E_ALL); set yeh?
>
> -- 
> Postgresql & php tutorials
> http://www.designmagick.com/
>

Yep, and thanks!





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to