How can you insert a variable into a string with php function
i have varibale:
var content = 222222;
var = content; content = '<p>'+ content +'</p>';
it work but when i want use php code inside
var content = 222222;
var = content; content = '<p><?php anyfuntion('+ content+') ; ?></p>';
it not work
what wrong wtih it ?
thank for help
My code can rune php script, dont mind about it, i just consider why my content variable not work inside ( )