--- In [email protected], Ian Bambury <[EMAIL PROTECTED]> wrote: > > <html> > <head> > <title> > > > </title> > </head> > > <body> > <?php > > // string of stuff > $emails = "[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL > PROTECTED]"; > > // split into array > $emails=explode(',',$emails); > > // get index of required item > $i=array_search('[EMAIL PROTECTED]',$emails); > > // if found, delete it from the array > if($i) unset($emails[$i]); > > // reassemble the string > $emails=implode(',',$emails); > > // see what we have got > var_dump($emails); > > > ?> > </body> > </html> > > > [Non-text portions of this message have been removed] >
thanks a lot! ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/HKFolB/TM --------------------------------------------------------------------~-> Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
