How do I use html tags as php

Unidentified

Living the Developer Life...
Jun 19, 2012
144
20
You know like rev cms it has it so you can type {username} as html and it shows users username by doing a php query I would like to know that can someone help please
 

Joopie

Active Member
Sep 13, 2011
135
65
The simplest solution is this:

Code:
$content = str_replace('{username}', YOURUSERNAME, $content);

For the rest you have to automate it by yourself :)
 

Users who are viewing this thread

Top