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 <[EMAIL PROTECTED]>:

> 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

Reply via email to