RE: [PHP] Why is this happening

2004-03-08 Thread Martin Towell
have you got register_globals turned on or off? Martin -Original Message- From: Bryan Bateman [mailto:[EMAIL PROTECTED] Sent: Tuesday, 9 March 2004 12:25 PM To: [EMAIL PROTECTED] Subject: [PHP] Why is this happening This does not work: require('languages/' . $language . '/' .

RE: [PHP] Why is this happening

2001-04-18 Thread Boget, Chris
Ok, I found out what the problem was. I'm still curious why the problem is occuring. if( $tmpArray[errorNumber] $typesToDisplay ) { you're using the bitwise when you want the logical No, I actually wanted to use the bitwise . I wanted to see if the "errorNumber" was in

RE: [PHP] Why is this happening

2001-04-17 Thread Boget, Chris
Ok, I found out what the problem was. I'm still curious why the problem is occuring. if( $tmpArray[errorNumber] $typesToDisplay ) { // line to comment out I almost always access associative arrays like the above - almost never without the quotes. IE $there = 5; echo "$this[that]br\n";

RE: [PHP] Why is this happening

2001-04-17 Thread Mark Maggelet
On Tue, 17 Apr 2001 15:55:38 -0500, Boget, Chris ([EMAIL PROTECTED]) wrote: Ok, I found out what the problem was. I'm still curious why the problem is occuring. if( $tmpArray[errorNumber] $typesToDisplay ) { // line to comment out you're using the bitwise when you want the logical --

RE: [PHP] Why is this happening

2001-04-17 Thread Mark Maggelet
On Tue, 17 Apr 2001 16:06:47 -0500, Boget, Chris ([EMAIL PROTECTED]) wrote: Ok, I found out what the problem was. I'm still curious why the problem is occuring. if( $tmpArray[errorNumber] $typesToDisplay ) { you're using the bitwise when you want the logical No, I actually wanted to use

Re: [PHP] Why is this happening

2001-04-17 Thread Justin Farnsworth
Some time ago, if I remember correctly, this question was asked. Rasmus replied that the interpreter, due to its mechanization, would interpret "raw" strings as strings in associative arrays but that THIS BEHAVIOUR WAS NOT GUARANTEED IN THE FUTURE. It had something to do with the symbol table