Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2003
    Location
    California, USA
    Posts
    582

    nvm, delete plz

    nvm, can be deleted
    Last edited by etogre; 09-20-2003 at 01:01 AM.

  2. #2
    Join Date
    Jan 2003
    Location
    Lake Arrowhead, CA
    Posts
    789
    You can use str_replace for simple string replacement.

    $new_var = str_replace("@", "(at)", $old_var);

    If you're working on text which might contain @ somewhere else, you'll want to look into ereg_replace to do regular expression replacement.
    http://www.srohosting.com
    Stability, redundancy and peace of mind

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •