...@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
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)
...@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
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
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
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.
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
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
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
://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
* 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.
11 matches
Mail list logo