Getting php variable valu
-
Hi,
I’m trying to get php variable of links into my editor.
I used in the editor with: “%%mylink%%”and instead of the_content() i put:
<?php
$mylink=’www.example.com’;
str_replace( ‘%%mylink%%’,$mylink,the_content());
?>how should i do it right?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Getting php variable valu’ is closed to new replies.