Jump to content

EdRash

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

EdRash's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. It's not exacly what I want. The current code is: // CHECK FOR NO INVITE EMAILS if(trim($invite_emails) == "") { $is_error = 1073; } // SEND INVITATION IF NO ERROR if($is_error == 0) { $invite_emails = implode(",", array_slice(explode(",", $invite_emails), 0, 100)); I want that script take this and send as is: john@doe.com jane@doe.com testing@mydomain.com me@me.net
  2. Output allredy multiple, i want that multiple email input was separated by line and/or paragraph. I can try preg_replace, but where to place it?
  3. It's dosn't work, if: $invite_emails = implode("\n", array_slice(explode("\n", $invite_emails) or $invite_emails = implode("<br>", array_slice(explode("<br>", $invite_emails) send only one email. if: $invite_emails = implode("\n"\n array_slice(explode("\n"\n $invite_emails) or $invite_emails = implode("<br>"<br> array_slice(explode("<br>"<br> $invite_emails) give syntax error
  4. Please Help! I have invite function on my site, that allows send multiple invite emails separated by commas: $invite_emails = implode(",", array_slice(explode(",", $invite_emails) I want to change function so, that emails was separated by line (one email per line).
×
×
  • Create New...

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.