placeholder?

2 posts by 1 authors in: Forums > CMS Builder
Last Post: March 16, 2015   (RSS)

By Toledoh - March 16, 2015

Got it.

!#Input here#! becomes <input placeholder='Input here' />

<?php echo str_replace("!#", "<input placeholder='", str_replace("#!", "' />", $articlesRecord['content']));?>

Cheers,

Tim (toledoh.com.au)