Loading ...
Sorry, an error occurred while loading the content.

15495Re: [phpXperts] How to separate the 2 words in 2 lines

Expand Messages
  • Mety Soriano
    May 13 11:01 PM
      Example this is the data
      Fil. 354.914 .Z21p

      the result should
      Fil.
      354.914
      .Z21p

      Please help , str_ireplace does'nt work

       

      MATIAS 'Mety' SORIANO

      MIS/IT Director/Consultant/Professor

      URL: http://www.shc.edu.ph

      E-mail: metysoriano@... / metysoriano@...

      Contacts: Tel: (042)3736167 Cel: 09282860545

       



      --- On Mon, 14/5/12, Mizanur Lasker <mizanurl@...> wrote:

      From: Mizanur Lasker <mizanurl@...>
      Subject: Re: [phpXperts] How to separate the 2 words in 2 lines
      To: phpexperts@yahoogroups.com
      Date: Monday, 14 May, 2012, 12:49 PM

       

      <?php

      $words = 'abcd dcba';
      echo str_ireplace(' ', '<br />', $words);

      ?>


      From: Mety <metysoriano@...>
      To: phpexperts@yahoogroups.com
      Sent: Monday, May 14, 2012 10:05 AM
      Subject: [phpXperts] How to separate the 2 words in 2 lines

       

      Dear expert how to separate 2 words in 2 lines... Example the data is abcd dcba, the output should

      abcd
      dcba

      Please help me

      Thank you



    • Show all 8 messages in this topic