![]() Topic awaiting preservation: preg_replace delimiter error (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() I am getting a Delimiter must not be alphanumeric or backslash in the line that actually does the preg_replace in this code: code: $body = "Today, Pugzly decided he wanted a helicopter. So, Pugzly went out and bought one";
|
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() |
Paranoid (IV) Inmate From: New Jersey, USA |
![]() Ini's right about str_replace. |
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() Actually, str_replace won't do what I need it to do. I only need it to replace the FIRST instance of $toreplace. code: <?php
|