> print split("=",$testString)[0]; First, using split() on such a simple delimiter is a waste. Use explode(). And yes, PHP does not support automatic dereferencing of returned arrays like that. -Rasmus -- 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]
- [PHP] Why doesn't this work? Ray Van Dolson
- RE: [PHP] Why doesn't this work? Jack Dempsey
- Rasmus Lerdorf