Jump to content

Archived

This topic is now archived and is closed to further replies.

lpxxfaintxx

Help, str_replace.

Recommended Posts

[code] <?php

$bad = array("> <");
$good = str_replace($bad, ",", "
<ezra_kannof@ehs.edgemont.org> <sam_sotsky@ehs.edgemont.org> <andrew_spellman@ehs.edgemont.org> <aiko_kato@ehs.edgemont.org> <alexandra_stratyner@ehs.edgemont.org> <gillian_katz@ehs.edgemont.org> <sara_strauss@ehs.edgemont.org> <brian_kaufman@ehs.edgemont.org> <matthew_thorpe@ehs.edgemont.org> <susannah_kent@ehs.edgemont.org> <jinyoung_kim@ehs.edgemont.org> <candido_ulloa@ehs.edgemont.org> <frank_valenti@ehs.edgemont.org> <joshua_waizer@ehs.edgemont.org> <chiara_klein@ehs.edgemont.org> <brittany_wald@ehs.edgemont.org> <ian_webster@ehs.edgemont.org> <micaela_klein@ehs.edgemont.org> <erica_weinberg@ehs.edgemont.org> <jake_weinstein@ehs.edgemont.org> <kota_kobayashi@ehs.edgemont.org> <scott_weiss@ehs.edgemont.org> <jeremy_kreisberg@ehs.edgemont.org> <joseph_weissbrot@ehs.edgemont.org> <akash_kumar@ehs.edgemont.org> <rohit_kumar@ehs.edgemont.org> <danny_wong@ehs.edgemont.org> <michelle_kupersmith@ehs.edgemont.org> <stacey_zander@ehs.edgemont.org> <samuel_kuttner@ehs.edgemont.org> <joshua_zelenetz@ehs.edgemont.org> <jason_alben@ehs.edgemont.org> <molly_labell@ehs.edgemont.org> <christopher_lau@ehs.edgemont.org> <stephanie_appollonio@ehs.edgemont.org> <jennifer_lavine@ehs.edgemont.org> <daniel_barkin@ehs.edgemont.org> <alyssa_barsky@ehs.edgemont.org> <ross_baum@ehs.edgemont.org> <steven_lee@ehs.edgemont.org> <matt_becker@ehs.edgemont.org> <jacob_berman@ehs.edgemont.org> <scott_levy@ehs.edgemont.org> <vaishnavi_bhatt@ehs.edgemont.org> <rachel_lin@ehs.edgemont.org> <lindsay_boyer@ehs.edgemont.org> <stephen_braunstein@ehs.edgemont.org> <weiwei_lin@ehs.edgemont.org> <alexandra_brodsky@ehs.edgemont.org> <michael_cacciola@ehs.edgemont.org> <william_luceiii@ehs.edgemont.org> <stephanie_marshak@ehs.edgemont.org> <jeffery_caplan@ehs.edgemont.org> <zachary_martin@ehs.edgemont.org> <oliver_castaneda@ehs.edgemont.org> <hilary_chalson@ehs.edgemont.org> <kevin_mauro@ehs.edgemont.org> <laura_mcdonald@ehs.edgemont.org> <caitlin_mcdonough@ehs.edgemont.org> <allison_cohen@ehs.edgemont.org> <matthew_medney@ehs.edgemont.org> <daniel_cohen@ehs.edgemont.org> <david_metsch@ehs.edgemont.org> <jerard_cohen@ehs.edgemont.org> <marko_milinovich@ehs.edgemont.org> <darren_cole@ehs.edgemont.org> <casey_minter@ehs.edgemont.org> <anupam_mitter@ehs.edgemont.org> <alexandra_croce@ehs.edgemont.org> <melanie_defiore@ehs.edgemont.org> <ashley_momtaheni@ehs.edgemont.org> <ross_devore@ehs.edgemont.org> <mary_mueller@ehs.edgemont.org> <takuma_murayama@ehs.edgemont.org> <jared_dubin@ehs.edgemont.org> <annmarie_napoletano@ehs.edgemont.org> <jess_eagel@ehs.edgemont.org> <sarah_nash@ehs.edgemont.org> <daniel_echeverria@ehs.edgemont.org> <steven_noll@ehs.edgemont.org> <josh_eidelberg@ehs.edgemont.org> <cristina_olcese@ehs.edgemont.org> <ginger_elias@ehs.edgemont.org> <gino_olcese@ehs.edgemont.org> <michael_orloff@ehs.edgemont.org> <nicole_eppolito@ehs.edgemont.org> <johnny_ortiz@ehs.edgemont.org> <amanda_evans@ehs.edgemont.org> <tina_paknejad@ehs.edgemont.org> <victoria_frappaolo@ehs.edgemont.org> <eric_pao@ehs.edgemont.org> <kara_park@ehs.edgemont.org> <jennifer_fried@ehs.edgemont.org> <riva_frydman@ehs.edgemont.org> <monica_perschetz@ehs.edgemont.org> <harrison_potasnik@ehs.edgemont.org> <james_glassman@ehs.edgemont.org> <francisco_puente@ehs.edgemont.org> <andrew_gottesdiener@ehs.edgemont.org> <julian_guerrino@ehs.edgemont.org> <michael_rappe@ehs.edgemont.org> <sam_rashkovich@ehs.edgemont.org> <angela_guy@ehs.edgemont.org> <brandon_ray@ehs.edgemont.org> <samara_harte@ehs.edgemont.org> <jamie_rogovin@ehs.edgemont.org> <maxwell_hirsch@ehs.edgemont.org> <paul_rosen@ehs.edgemont.org> <sara_hirsch@ehs.edgemont.org> <david_ross@ehs.edgemont.org> <sean_ross@ehs.edgemont.org> <rachel_hochstadt@ehs.edgemont.org> <adam_roth@ehs.edgemont.org> <ross_hoddeson@ehs.edgemont.org> <michael_rothschild@ehs.edgemont.org> <robert_hoffman@ehs.edgemont.org> <carly_roukos@ehs.edgemont.org> <anna_hong@ehs.edgemont.org> <valbone_rraci@ehs.edgemont.org> <andrew_huff@ehs.edgemont.org> <sophia_russo@ehs.edgemont.org> <john_sanchez@ehs.edgemont.org> <monica_sawchuck@ehs.edgemont.org> <ai_iwasaki@ehs.edgemont.org> <hannah_sawyer@ehs.edgemont.org> <matthew_jacobson@ehs.edgemont.org> <jaclyn_scher@ehs.edgemont.org> <samuel_jacobson@ehs.edgemont.org> <jason_jin@ehs.edgemont.org> <alyssa_schwartz@ehs.edgemont.org> <evan_kaplan@ehs.edgemont.org> <nikki_schwartzman@ehs.edgemont.org> <victoria_karim@ehs.edgemont.org> <jason_kho@ehs.edgemont.org> <liliane_serfaty@ehs.edgemont.org> <joval_shamshom@ehs.edgemont.org> <andrea_klein@ehs.edgemont.org> <melissa_shenker@ehs.edgemont.org> <derith_klein@ehs.edgemont.org> <arielle_sherman@ehs.edgemont.org> <william_klein@ehs.edgemont.org> <alexander_kozera@ehs.edgemont.org> <amanda_short@ehs.edgemont.org> <christina_kozera@ehs.edgemont.org> <matthew_sirras@ehs.edgemont.org> <rachel_smith@ehs.edgemont.org> <danielle_krugman@ehs.edgemont.org> <samuel_song@ehs.edgemont.org> <eric_spiegel@ehs.edgemont.org> <anisha_kumar@ehs.edgemont.org> <stephen_kuschman@ehs.edgemont.org> <klevis_tana@ehs.edgemont.org> <avra_kutcher@ehs.edgemont.org> <daniel_tippens@ehs.edgemont.org> <matthew_kuttner@ehs.edgemont.org> <jennifer_varvara@ehs.edgemont.org> <jacqueline_vele@ehs.edgemont.org> <sebastian_lara@ehs.edgemont.org> <jason_wachter@ehs.edgemont.org> <carolyn_lazarovici@ehs.edgemont.org> <katrina_waizer@ehs.edgemont.org> <alexandra_leclair@ehs.edgemont.org> <kathleen_wang@ehs.edgemont.org> <vicky_wang@ehs.edgemont.org> <brian1_lee@ehs.edgemont.org> <spencer_weinman@ehs.edgemont.org> <dana_lee@ehs.edgemont.org> <rebecca_weinstein@ehs.edgemont.org> <eric_lee@ehs.edgemont.org> <frances_lee@ehs.edgemont.org> <yan_yanovskiy@ehs.edgemont.org> <benjamin_levine@ehs.edgemont.org> <jaclyn_zukerman@ehs.edgemont.org> <tony_lin@ehs.edgemont.org> <gabrielle_acierno@ehs.edgemont.org> <daniel_antman@ehs.edgemont.org> <ryan_longo@ehs.edgemont.org> <max_appelbaum@ehs.edgemont.org> <charles_luce@ehs.edgemont.org> <akeem_bacchus@ehs.edgemont.org> <nicholas_lugovina@ehs.edgemont.org> <kevin_bajorin@ehs.edgemont.org> <julie_balamaci@ehs.edgemont.org> <andrew_mandelbaum@ehs.edgemont.org> <michelle_ballen@ehs.edgemont.org> <david_mandelbaum@ehs.edgemont.org> <joanna_bargman@ehs.edgemont.org> <david_mccormack@ehs.edgemont.org> <sean_barr@ehs.edgemont.org> <meghan_mcdonough@ehs.edgemont.org> <neza_bevc@ehs.edgemont.org> <jarret_meskin@ehs.edgemont.org> <angela_napoletano@ehs.edgemont.org> <elizabeth_bibi@ehs.edgemont.org> <saadan_niazi@ehs.edgemont.org> <ellen_binder@ehs.edgemont.org> <joshua_bloch@ehs.edgemont.org> <junki_ogawa@ehs.edgemont.org> <scott_bloomberg@ehs.edgemont.org> <lauren_onorato@ehs.edgemont.org> <zachary_borenstein@ehs.edgemont.org> <molly_orden@ehs.edgemont.org> <sydney_ortega@ehs.edgemont.org> <zachary_brown@ehs.edgemont.org> <donna_park@ehs.edgemont.org> <abra_burkett@ehs.edgemont.org> <sara_park@ehs.edgemont.org> <cherilyn_cecchini@ehs.edgemont.org> <matthew_paskalides@ehs.edgemont.org> <tina_chaudhry@ehs.edgemont.org> <kerri_pedersen@ehs.edgemont.org> <kenneth_chen@ehs.edgemont.org> <natalieann_pellegrino@ehs.edgemont.org> <paul_chester@ehs.edgemont.org> <alexandra_pfeffer@ehs.edgemont.org> <mark_pfeffer@ehs.edgemont.org> <alexandra_pierotti@ehs.edgemont.org> <braeden_cohen@ehs.edgemont.org> <thanases_plestis@ehs.edgemont.org> <spencer_cohn@ehs.edgemont.org> <jacqueline_colman@ehs.edgemont.org> <lea_pollack@ehs.edgemont.org> <dylan_pyne@ehs.edgemont.org> <michelle_rakoff@ehs.edgemont.org> <matthew_rappe@ehs.edgemont.org> <nikolay_dimitrov@ehs.edgemont.org> <jamie_rawdin@ehs.edgemont.org> <irina_dimitrova@ehs.edgemont.org> <adam_raymond@ehs.edgemont.org> <brian_doochin@ehs.edgemont.org> <erica_rehbock@ehs.edgemont.org> <hilary_ducker@ehs.edgemont.org> <jordan_reisman@ehs.edgemont.org> <bryce_einhorn@ehs.edgemont.org> <david_rice@ehs.edgemont.org> <max_einhorn@ehs.edgemont.org> <gabriel_feinstein@ehs.edgemont.org> <diana_rizzo@ehs.edgemont.org> <matthew_romney@ehs.edgemont.org> <michael_filippone@ehs.edgemont.org> <alec_rosen@ehs.edgemont.org> <matthew_fleischmann@ehs.edgemont.org> <rebecca_rosenblatt@ehs.edgemont.org> <elise_gerspach@ehs.edgemont.org> <maya_glasser@ehs.edgemont.org> <stephanie_glickman@ehs.edgemont.org> <david_rothschild@ehs.edgemont.org> <smaji_rraci@ehs.edgemont.org> <sonika_gupta@ehs.edgemont.org> <sarah_russo@ehs.edgemont.org> <daniel_han@ehs.edgemont.org> <philip_sarmiento@ehs.edgemont.org> <amanda_heidel@ehs.edgemont.org> <james_hercher@ehs.edgemont.org> <gregory_sawchuck@ehs.edgemont.org> <andrew_hirsch@ehs.edgemont.org> <matthew_sayegh@ehs.edgemont.org> <dorina_imami@ehs.edgemont.org> <ian_schlesinger@ehs.edgemont.org> <roxanne_schoenfeld@ehs.edgemont.org> <tyler_schultz@ehs.edgemont.org> <eric_jackson@ehs.edgemont.org> <naomi_jagoda@ehs.edgemont.org> <alexandra_schwartzman@ehs.edgemont.org> <samantha_jayawickrama@ehs.edgemont.org> <julia_schweitzer@ehs.edgemont.org> <paul_johannet@ehs.edgemont.org> <danielle_seife@ehs.edgemont.org> <eric_seligman@ehs.edgemont.org> <evan_kaiman@ehs.edgemont.org> <aashita_shah@ehs.edgemont.org> <shaini_shah@ehs.edgemont.org> <anne_kay@ehs.edgemont.org> <nicole_shifteh@ehs.edgemont.org> <maxime_keysonwilliams@ehs.edgemont.org> <jennifer_shlomo@ehs.edgemont.org> <lauren_short@ehs.edgemont.org> <gracehyun_kim@ehs.edgemont.org> <tristan_siegel@ehs.edgemont.org> <emily_silver@ehs.edgemont.org> <aditya_acharya@ehs.edgemont.org> <ross_klein@ehs.edgemont.org> <andrew_silverberg@ehs.edgemont.org> <mamiko_adachi@ehs.edgemont.org> <emily_silverberg@ehs.edgemont.org> <zohra_ali@ehs.edgemont.org> <erica_klestadt@ehs.edgemont.org> <amanda_simon@ehs.edgemont.org> <david_arkow@ehs.edgemont.org> <lauren_klestadt@ehs.edgemont.org> <david_sin@ehs.edgemont.org> <benjamin_asher@ehs.edgemont.org> <emily_kloppenburg@ehs.edgemont.org> <alison_badillo@ehs.edgemont.org> <lauren_kocaj@ehs.edgemont.org> <gjon_balaj@ehs.edgemont.org> <samuel_koch@ehs.edgemont.org> <aaron_springut@ehs.edgemont.org> <suzana_balbona@ehs.edgemont.org> <ling_kong@ehs.edgemont.org> <zachary_baum@ehs.edgemont.org> <hannah_kramer@ehs.edgemont.org> <catherine_baumann@ehs.edgemont.org> <jason_kresch@ehs.edgemont.org> <avi_benzvi@ehs.edgemont.org> <alexander_bisson@ehs.edgemont.org> <eddie_lai@ehs.edgemont.org> <jesse_bordwin@ehs.edgemont.org> <celina_strater@ehs.edgemont.org> <michael_bramson@ehs.edgemont.org> <brian_lee@ehs.edgemont.org> <lynn_streja@ehs.edgemont.org> <esther_burke@ehs.edgemont.org> <matthew_lee@ehs.edgemont.org> <jessica_butler@ehs.edgemont.org> <zachary_levine@ehs.edgemont.org> <nana_takeuchi@ehs.edgemont.org> <daniel_cobe@ehs.edgemont.org> <seth_levy@ehs.edgemont.org> <vanessa_thom@ehs.edgemont.org> <emi_tabata@ehs.edgemont.org> <morgan_li@ehs.edgemont.org> <veronica_tsoukanov@ehs.edgemont.org> <ethan_cohen@ehs.edgemont.org> <aaron_liskov@ehs.edgemont.org> <simon_uy@ehs.edgemont.org> <julia_cohen@ehs.edgemont.org> <danielle_litoff@ehs.edgemont.org> <rosanna_croce@ehs.edgemont.org> <david_vitale@ehs.edgemont.org> <kiersten_malkames@ehs.edgemont.org> <jessica_vizcarra@ehs.edgemont.org> <rosalind_mandelbaum@ehs.edgemont.org> <andrew_wylie@ehs.edgemont.org> <samuel_cutler@ehs.edgemont.org> <olivia_diamond@ehs.edgemont.org> <maya_dimitrova@ehs.edgemont.org> <gregory_marx@ehs.edgemont.org> <alice_drain@ehs.edgemont.org> <ryan_matthews@ehs.edgemont.org> <jake_eleftheriou@ehs.edgemont.org> <william_mcnally@ehs.edgemont.org> <max_feder@ehs.edgemont.org> <kira_mooney@ehs.edgemont.org> <jordan_fiellen@ehs.edgemont.org> <benny_moser@ehs.edgemont.org> <stanley_filonenko@ehs.edgemont.org> <reina_muramatsu@ehs.edgemont.org> <jena_finn@ehs.edgemont.org> <ryan_murray@ehs.edgemont.org> <robert_fontana@ehs.edgemont.org> <spencer_nelson@ehs.edgemont.org> <jonpaul_giardullo@ehs.edgemont.org> <jessica_newman@ehs.edgemont.org> <daniel_ng@ehs.edgemont.org> <daniel_gilberg@ehs.edgemont.org> <vijay_nibhanipudi@ehs.edgemont.org> <cheryl_noll@ehs.edgemont.org> <cecilia_goldschmidt@ehs.edgemont.org> <evan_ocheret@ehs.edgemont.org> <matthew_goldwasser@ehs.edgemont.org> <jonathan_ochs@ehs.edgemont.org> <brian_gomez@ehs.edgemont.org> <sarah_osman@ehs.edgemont.org> <carlybeth_grafstein@ehs.edgemont.org> <katherine_palmer@ehs.edgemont.org> <justin_granstein@ehs.edgemont.org> <vishal_panchal@ehs.edgemont.org> <becky_greenfield@ehs.edgemont.org> <sanchit_gupta@ehs.edgemont.org> <elizabeth_pantone@ehs.edgemont.org> <emilie_heidel@ehs.edgemont.org> <katherine_pantone@ehs.edgemont.org> <shruti_patel@ehs.edgemont.org> <jill_heller@ehs.edgemont.org> <julie_pollack@ehs.edgemont.org> <joseph_porzio@ehs.edgemont.org> <jennifer_hirsch@ehs.edgemont.org> <sam_hobish@ehs.edgemont.org> <alexander_reback@ehs.edgemont.org> <sean_holas@ehs.edgemont.org> <meredith_richard@ehs.edgemont.org> <hideaki_horikoshi@ehs.edgemont.org> <judd_rosenblatt@ehs.edgemont.org> <katie_horn@ehs.edgemont.org> <taunil_russo@ehs.edgemont.org> <alissa_huff@ehs.edgemont.org> <emi_ihara@ehs.edgemont.org> <eddie_salmon@ehs.edgemont.org> <yuki_ihara@ehs.edgemont.org> <briggette_sayegh@ehs.edgemont.org> <jimmy_sayegh@ehs.edgemont.org> <tristan_schaffergoldman@ehs.edgemont.org> <stephen_jablonski@ehs.edgemont.org> <adam_sherman@ehs.edgemont.org> <jongho_jin@ehs.edgemont.org> <ashley_johnson@ehs.edgemont.org> <jeremy_sklaroff@ehs.edgemont.org> <madeline_johnson@ehs.edgemont.org> <deborah_song@ehs.edgemont.org> <matthew_kim@ehs.edgemont.org> <fiona_choi@ehs.edgemont.org> <elias_vock@ehs.edgemont.org> <alex_guzman@ehs.edgemont.org> <chloe_hirsch@ehs.edgemont.org> <evelyn_jagoda@ehs.edgemont.org> <thomas_sanfratello@ehs.edgemont.org> <peter_jablonski@ehs.edgemont.org> <elsa_idrizi@ehs.edgemont.org> <gregory_lafayette@ehs.edgemont.org> <taylor_barker@ehs.edgemont.org> <jedd_horn@ehs.edgemont.org> <madhuri_duggirala@ehs.edgemont.org> <jonathan_kho@ehs.edgemont.org> <terry_kim@ehs.edgemont.org> <nikolin_gjergji@ehs.edgemont.org> <lauren_spierer@ehs.edgemont.org> <christopher_minn@ehs.edgemont.org> <kazuma_haraguchi@ehs.edgemont.org> <jocelyn_resnick@ehs.edgemont.org> <jocelyn_bibi@ehs.edgemont.org> <alex_kaminstein@ehs.edgemont.org> <jenny_li@ehs.edgemont.org> <jason_choi@ehs.edgemont.org> <sophie_berman@ehs.edgemont.org> <daniel_weinstein@ehs.edgemont.org> <dylan_hercher@ehs.edgemont.org> <andrew_klestadt@ehs.edgemont.org> <lucie_dvorak@ehs.edgemont.org> <matthew_adorno@ehs.edgemont.org> <michael_riverso@ehs.edgemont.org> <jimin_kang@ehs.edgemont.org> <ashley_lourenco@ehs.edgemont.org> <joseph_kim@ehs.edgemont.org> <charles_mccarthy@ehs.edgemont.org> <alexi_geevarghese@ehs.edgemont.org> <anastasia_galfund@ehs.edgemont.org> <zachary_klein@ehs.edgemont.org> <anne_vilsoet@ehs.edgemont.org> <melanie_milbauer@ehs.edgemont.org> <virginia_hong@ehs.edgemont.org> <william_karim@ehs.edgemont.org> <jason_adler@ehs.edgemont.org> <carly_zelenetz@ehs.edgemont.org> <despina_bobolakis@ehs.edgemont.org> <jane_glickman@ehs.edgemont.org> <nikhil_jayawickrama@ehs.edgemont.org> <ross_weitzer@ehs.edgemont.org> <sion_kim@ehs.edgemont.org> <arian_rubin@ehs.edgemont.org> <jessica_fass@ehs.edgemont.org> <jon_sklaroff@ehs.edgemont.org> <daniel_bernstein@ehs.edgemont.org> <wesley_appel@ehs.edgemont.org> <keitaro_yamashita@ehs.edgemont.org> <alexa_stone@ehs.edgemont.org> <jennifer_abramsky@ehs.edgemont.org> <lisa_balbona@ehs.edgemont.org> <david_shapiro@ehs.edgemont.org> <sainatee_suarez@ehs.edgemont.org> <ben_steinberg@ehs.edgemont.org> <tessie_oostelbos@ehs.edgemont.org> <kelly_ray@ehs.edgemont.org> <katherine_liu@ehs.edgemont.org> <peter_kaufman@ehs.edgemont.org> <ryan_bostic@ehs.edgemont.org> <joshua_fechter@ehs.edgemont.org> <jun_takase@ehs.edgemont.org> <elizabeth_han@ehs.edgemont.org> <rebecca_wachter@ehs.edgemont.org> <benjamin_kantor@ehs.edgemont.org> <benjamin_cantor@ehs.edgemont.org> <vincent_sarmiento@ehs.edgemont.org> <lauren_puhala@ehs.edgemont.org> <edward_jung@ehs.edgemont.org> <robert_spielvogel@ehs.edgemont.org> <henry_vanvuuren@ehs.edgemont.org> <brendan_ko@ehs.edgemont.org> <melissa_rosenhan@ehs.edgemont.org> <sarah_suh@ehs.edgemont.org> <isabelle_gordon@ehs.edgemont.org> <jisu_bang@ehs.edgemont.org> <jully_flores@ehs.edgemont.org> <katherine_singer@ehs.edgemont.org> <judith_waizer@ehs.edgemont.org> <tej_mehta@ehs.edgemont.org> <eliza_herrero@ehs.edgemont.org> <ishan_vasa@ehs.edgemont.org> <lisa_lee@ehs.edgemont.org> <andrea_cantor@ehs.edgemont.org> <rebecca_binder@ehs.edgemont.org> <damien_lazar@ehs.edgemont.org> <jeremy_stern@ehs.edgemont.org> <maya_barzilai@ehs.edgemont.org> <yooyeon_sul@ehs.edgemont.org> <drew_turchin@ehs.edgemont.org> <sarah_kaufman@ehs.edgemont.org> <purvesh_patel@ehs.edgemont.org> <anaita_katrak@ehs.edgemont.org> <omair_pasha@ehs.edgemont.org> <anthony_riverso@ehs.edgemont.org> <leah_seligman@ehs.edgemont.org> <tienyu_ning@ehs.edgemont.org> <emma_lomaxcohen@ehs.edgemont.org> <jacob_goldwasser@ehs.edgemont.org> <mallory_hochstadt@ehs.edgemont.org> <john_an@ehs.edgemont.org> <seth_garben@ehs.edgemont.org> <michael_marin@ehs.edgemont.org> <john_nathanson@ehs.edgemont.org> <molly_rabinowitz@ehs.edgemont.org> <eurip_kim@ehs.edgemont.org> <shun_fujii@ehs.edgemont.org> <joseph_frappaolojr@ehs.edgemont.org> <xiaolong_chen@ehs.edgemont.org> <abhinav_shrestha@ehs.edgemont.org> <yurida_manzarron@ehs.edgemont.org> <lara_milbauer@ehs.edgemont.org> <rui_wang@ehs.edgemont.org> <philip_economas@ehs.edgemont.org> <joseph_choi@ehs.edgemont.org> <suyeon_koo@ehs.edgemont.org> <laura_spellman@ehs.edgemont.org> <daniel_newman@ehs.edgemont.org> <sayomi_yamada@ehs.edgemont.org> <spencer_hoddeson@ehs.edgemont.org> <rachel_klein@ehs.edgemont.org> <allison_dumke@ehs.edgemont.org> <matt_soares@ehs.edgemont.org> <caroline_kratky@ehs.edgemont.org> <aakash_jobanputra@ehs.edgemont.org> <matthew_abramowitz@ehs.edgemont.org> <alexa_schweitzer@ehs.edgemont.org> <benjamin_strauss@ehs.edgemont.org> <marion_robine@ehs.edgemont.org> <carolyn_chen@ehs.edgemont.org> <erik_weinberg@ehs.edgemont.org> <emily_rosenwachs@ehs.edgemont.org> <jeffrey_lee@ehs.edgemont.org> <gopika_krishna@ehs.edgemont.org> <samuel_rovner@ehs.edgemont.org> <renee_douglas@ehs.edgemont.org> <joshua_kramer@ehs.edgemont.org> <alexandra_puig@ehs.edgemont.org> <chloe_cohen@ehs.edgemont.org> <luke_pierotti@ehs.edgemont.org> <naja_touray@ehs.edgemont.org> <sneeya_khan@ehs.edgemont.org> <danielle_rovins@ehs.edgemont.org> <zoe_bohrer@ehs.edgemont.org> <fabrice_kamanzi@ehs.edgemont.org> <akshay_kini@ehs.edgemont.org> <kazuki_horikoshi@ehs.edgemont.org> <tracy_hewitt@ehs.edgemont.org> <julie_robine@ehs.edgemont.org> <kwanell_fields@ehs.edgemont.org> <brooke_smokler@ehs.edgemont.org> <sanford_student@ehs.edgemont.org> <ryan_newfield@ehs.edgemont.org> <taylor_valentine@ehs.edgemont.org> <alexandra_lugovina@ehs.edgemont.org> <rebecca_hayn@ehs.edgemont.org> <rebecca_lefkowitz@ehs.edgemont.org> <andrew_drozdov@ehs.edgemont.org> <paraskeve_plestis@ehs.edgemont.org> <jonathan_cobe@ehs.edgemont.org> <saru_janda@ehs.edgemont.org> <stavan_mehta@ehs.edgemont.org> <paul_dibbini@ehs.edgemont.org> <billy_kreinik@ehs.edgemont.org> <jennifer_kufa@ehs.edgemont.org> <garret_nemser@ehs.edgemont.org> <satyaki_roy@ehs.edgemont.org> <amy_weintraub@ehs.edgemont.org> <brian_green@ehs.edgemont.org> <victor_chang@ehs.edgemont.org> <soohyun_han@ehs.edgemont.org> <alicia_granstein@ehs.edgemont.org> <emma_hayes@ehs.edgemont.org> <stanford_lwin@ehs.edgemont.org> <zoey_shaw@ehs.edgemont.org> <vikramjustin_lobo@ehs.edgemont.org> <alison_weissbrot@ehs.edgemont.org> <melanie_hsu@ehs.edgemont.org> <dakota_doukas@ehs.edgemont.org> <joshua_noll@ehs.edgemont.org> <evan_perschetz@ehs.edgemont.org> <cody_fisher@ehs.edgemont.org> <abigail_wang@ehs.edgemont.org> <james_butler@ehs.edgemont.org> <kelvin_chan@ehs.edgemont.org> <jason_harary@ehs.edgemont.org> <alexander_torman@ehs.edgemont.org> <demo_student@ehs.edgemont.org> <kevin_song@ehs.edgemont.org> <andrew_noble@ehs.edgemont.org> <geoffrey_metsch@ehs.edgemont.org> <emma_levin@ehs.edgemont.org>");


echo $good;
?>
[/code]


I wanted the end results to be like "melanie_hsu@ehs.edgemont.org,dakota_doukas@ehs.edgemont.org,joshua_noll@ehs.edgemont.org,evan_perschetz@ehs.edgemont.org,cody_fisher@ehs.edgemont.org," etc. The page came out blank. Does anyone know where I went wrong? I need this for a mailing list for my school and I need the commas for CC.

Regards

Share this post


Link to post
Share on other sites
You get a blank page because you are left with the opening "<" and the closing ">" so everythig is inside tags and therefore not displayed by the browser.

Try

[code]$str = "<ezra_kannof@ehs.edgemont.org> <sam_sotsky@ehs.edgemont.org> <geoffrey_metsch@ehs.edgemont.org> <emma_levin@ehs.edgemont.org>";

$good = str_replace(array('<', '>'), array('', ','), $str);
echo $good;[/code]

You will be left with the trailing comma but you can lose that with

[code]$good = trim($good, ',');[/code]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.