Jump to content

Why wont Str_replace work?


JREAM

Recommended Posts

Im stuck again :(

 

<?php
// Debuggin
ini_set('display_errors', 1);
error_reporting(E_ALL); 
//

$file = include('cms/data/blocks/block-1.php');
str_replace("###", '>>', $file); 

?>

 

heres what in the file:

 

 

block 1,

 

blah blah

<br />

###

<br />

 

### something ###

<br />

 

test ### test

<br />

 

Link to comment
https://forums.phpfreaks.com/topic/123385-why-wont-str_replace-work/
Share on other sites

Archived

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

×
×
  • 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.