Yasuo Ohgaki wrote:
> This is expected behaviour. > > Ashley M. Kirchner wrote: > >> I have the following snippet in my file: >> >> if ($PATH_INFO == "") { $PATH_INFO = "/"; } >> echo "PATH_INFO: $PATH_INFO<br>\n"; >> // All we want is the fist element, call it $section >> list($section) = explode('/', substr($PATH_INFO,1)); > > > > explode() is string function and returns array of strings. Therefore, > type is integer. Oops. Obviously this line is wrong. It should be "There for type is STRING" not integer... -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]