> I am wondering if there is any tangible difference between the following > two > commands: > > $x = $foo["status"]; > $x = $foo['status'];
The only difference to any strings enclosed in ' or " is that strings enclosed in " may have variables embedded within them. Strings enclosed with ' will not have variables evaluated within them. $name = "John"; Echo "My name is $name"; Echo 'My name is $name"; The first echo will output "John" as the name, the second one will output a literal "$name". ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php