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 . '/' .
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
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";
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
--
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
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
6 matches
Mail list logo