Re: String Array Creation and assigment

From: Date: Thu, 30 Oct 2003 08:25:25 +0000
Subject: Re: String Array Creation and assigment
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-168124@lists.php.net to get a copy of this message
On Wed, Oct 29, 2003 at 12:47:58PM -0500, Dan wrote: : : please help with the following: : : I tried this first : : $b[] = 'Book Worzel, Richard (1989). From Employee to Entrepreneur: how to : turn your experience into a fortune. Toronto: Key Porter books.'; : $b[] = 'Book Ries, Al and Jack Trout (1994). The 22 Immutable Laws of : Marketing. New York: Harper Business'; : ... : : then tried this : : $b[0] = 'Book Worzel, Richard (1989). From Employee to Entrepreneur: how to : turn your experience into a fortune. Toronto: Key Porter books.'; : $b[1] = 'Book Ries, Al and Jack Trout (1994). The 22 Immutable Laws of : Marketing. New York: Harper Business'; : ... : : none of the above work, what's right? Both of these examples worked for me without any problems. What exactly do you mean, "none of the above work"? What happens when you do a simple print_r($b) ? Or even a basic is_array($b) after each set of variable assignments?

« previous php.general (#168124) next »