I want to show in a div dynamically some content. This content, come from a function i have in php.
Any ideas how can i do this?
HTML:
<div class="creativeSecondField">
<h1 class="secondFieldTitle"></h1>
<div class="secondFieldContent"></div>
</div>
JQUERY:
$(".creativeSecondField > div.secondFieldContent").text(""+
<?php
$info+this.id = $this->sqlCategories+this.id;
foreach ( $info+this.id as $valuesinfo+this.id )
{
echo $valuesinfo+this.id['designation_en'];
}
?>
+"");