ID:               2873
 Comment by:       scott at yahoo dot com
 Reported By:      mwright29 at hotmail dot com
 Status:           Closed
 Bug Type:         Misbehaving function
 Operating System: RedHat Linux 6.0
 PHP Version:      3.0.12
 New Comment:

what the f does this mean - why doesn't it work???


Previous Comments:
------------------------------------------------------------------------

[1999-11-30 15:47:28] mwright29 at hotmail dot com

 Description:
When this script runs, it only returns the word "Array" when it echoes
$pieces. This is the exact code from the explode function documentation
on the php.net website. I tried using explode to break up a search
string and when it didn't work, I tried this.

 Script:
<html>
<body>
<?
$pizza = "piece1 piece2 piece3 piece4 piece5 piece6";
$pieces = explode(" ", $pizza);
echo $pieces;
?>
</body>
</html>


 Configure line:
./configure --with-mysql --with-apache=../apache_1.3.x
--enable-track-vars --disable-gd



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=2873&edit=1

Reply via email to