Vote count:
0
I would like to preset some php functions with tags/labels (wordpress-like) and to be used in tinymce
Example:
function hello() {
//do something like including a file, insert an image file etc.
}
$page_content = '<div>If youre testing which browser the user has, you can use a string function to search
for a short string inside of this very long one. A PHP string function you can use [hello] is strpos. The syntax for the
strpos function is:</div>';
output1 = '<div class="content">If youre testing which browser the user has, you can use a string function to search
for a short string inside of this very long one. A PHP string function you can use ';
output2 = eval(hello());
output3 = ' is strpos. The syntax for the strpos function is:</div>';
Can anyone throw me some idea, terms or direction so I google for more information? Or even better, some guideline on how to achieve that?
Many Many Thanks
asked 41 secs ago
Aucun commentaire:
Enregistrer un commentaire