RE: [PHP] global array

2012-06-15 Thread ma...@behnke.biz
...@allredmetal.com Subject: Re: [PHP] global array Jeff Burcher j...@allredmetal.com hat am 14. Juni 2012 um 13:55 geschrieben: function Part_BOM($PartID, $need, $phase) { global $Invreq; uppercase R !!! And much better is adding it as another parameter

Re: [PHP] global array

2012-06-14 Thread ma...@behnke.biz
Jeff Burcher j...@allredmetal.com hat am 14. Juni 2012 um 13:55 geschrieben: function Part_BOM($PartID, $need, $phase) { global $Invreq; uppercase R !!! And much better is adding it as another parameter and inject it: function Part_BOM($PartID, $need, $phase, $InvReq)

RE: [PHP] global array

2012-06-14 Thread Jeff Burcher
...@allredmetal.com Subject: Re: [PHP] global array Jeff Burcher j...@allredmetal.com hat am 14. Juni 2012 um 13:55 geschrieben: function Part_BOM($PartID, $need, $phase) { global $Invreq; uppercase R !!! And much better is adding it as another parameter and inject

Re: [PHP] global array

2012-06-14 Thread Jim Giner
Yes - PHP is very picky. Hence I never capitalize anything! I use underscores to make varnames more understandable, as in $inv_req -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] global array

2012-06-14 Thread Al
On 6/14/2012 12:49 PM, Jim Giner wrote: Yes - PHP is very picky. Hence I never capitalize anything! I use underscores to make varnames more understandable, as in $inv_req There is another nice custom e.g. $invReg it's easy to read and it doesn't conflict with PHP syntax for some

Re: [PHP] global array

2012-06-14 Thread Jim Giner
Al n...@ridersite.org wrote in message news:6b.c0.39100.4ef1a...@pb1.pair.com... On 6/14/2012 12:49 PM, Jim Giner wrote: Yes - PHP is very picky. Hence I never capitalize anything! I use underscores to make varnames more understandable, as in $inv_req There is another nice custom e.g.

Re: [PHP] global array

2012-06-14 Thread Ashley Sheridan
On Thu, 2012-06-14 at 15:13 -0400, Jim Giner wrote: Al n...@ridersite.org wrote in message news:6b.c0.39100.4ef1a...@pb1.pair.com... On 6/14/2012 12:49 PM, Jim Giner wrote: Yes - PHP is very picky. Hence I never capitalize anything! I use underscores to make varnames more

Re: [PHP] global array

2012-06-14 Thread Jim Giner
See - I didn't even notice he used camel-case - I thought he typed the same thing that got the OP in trouble. See how difficult that custom is? That's why for any case sensitive syntax, I stick to all lower case to avoid just that kind of bug-a-boo. -- PHP General Mailing List

Re: [PHP] global array, can't assign values from variables

2003-09-05 Thread John W. Holmes
Chris Edwards wrote: I'm just going to give the code and output. It should be self explanatory. The array, $criteria, is having the issue. I don't know what it's doing. I cannot seem to assign the value from the $data variable to the $criteria[index] value. You will see some attempts to debug

Re: [PHP] global array, can't assign values from variables SOLVED

2003-09-05 Thread Chris Edwards
://www.OuterBanksInternet.com - Original Message - From: John W. Holmes [EMAIL PROTECTED] To: Chris Edwards [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, September 05, 2003 4:11 PM Subject: Re: [PHP] global array, can't assign values from variables Chris Edwards wrote: I'm just going to give

Re: [PHP] global array, can't assign values from variables

2003-09-05 Thread Curt Zirzow
* Thus wrote Chris Edwards ([EMAIL PROTECTED]): Hi I'm just going to give the code and output. It should be self explanatory. The array, $criteria, is having the issue. I don't know what it's doing. I cannot seem to assign the value from the $data variable to the $criteria[index] value.