Re: Re: Re: Military Service WAS [PHP] Capitalization of variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 23, 2008 at 12:48 PM, Boyd, Todd M. <tmboyd1@xxxxxxxx> wrote:
>
> <?php
>
> foreach($php-general-subscriber as $subscriber)
> {
>        $subscriber->spread_the_love();
> }

Notice: Use of undefined constant general - assumed 'general' in
/home/obd2code/public_html/g.php on line 3

Notice: Undefined variable: php in /home/obd2code/public_html/g.php on line 3

Notice: Use of undefined constant subscriber - assumed 'subscriber' in
/home/obd2code/public_html/g.php on line 3

Warning: Invalid argument supplied for foreach() in
/home/obd2code/public_html/g.php on line 3.


    (In actuality, you can't use dashes in a variable name.  You may
have meant to use an underscore [ _ ].)

-- 
</Daniel P. Brown>
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contract!
Dedicated servers, VPS, and hosting from $2.50/mo.

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux