Re: Text Parser

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Suppose this is your first string $value
house , ball , door , roof , floor

$saparate = explode(",",$value);
$list = implode("','", $arr1);
$final =  ('$arr2');
echo $final;

Thnx...


Quoting Pablo D Marotta <Pablo.D.Marotta@xxxxxxxx>:

> Hi there..
> A newbie issue:
> I´m receiving this: "house , ball , door , roof , floor"
> And I want to obtain this: "'house','ball','door','roof','floor'"
> 
> Maybe, I should use implode or explode, but I just can´t figure out how..
> Help?
> 
> 
> 
> American Express made the following
>  annotations on 12/02/04 08:13:28
> ------------------------------------------------------------------------------
> ******************************************************************************
> 
>      "This message and any attachments are solely for the intended recipient
> and may contain confidential or privileged information. If you are not the
> intended recipient, any disclosure, copying, use, or distribution of the
> information included in this message and any attachments is prohibited.  If
> you have received this communication in error, please notify us by reply
> e-mail and immediately and permanently delete this message and any
> attachments.  Thank you."
> 
> ******************************************************************************
> 
> ==============================================================================
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux