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

From: Date: Mon, 23 Jun 2008 16:54:32 +0000
Subject: Re: Re: [PHP] Re: Military Service WAS [PHP] Capitalization of variable
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.general 
Request: Send a blank email to php-general+get-275827@lists.php.net to get a copy of this message
On Mon, Jun 23, 2008 at 12:48 PM, Boyd, Todd M. <tmboyd1@ccis.edu> 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.

« previous php.general (#275827) next »