Page 1 of 1

include PHP code

Posted: Fri Dec 11, 2020 3:30 pm
by hermes111301
Hello,

I want create site web dynamics with database mysql.
i want include tag <?php echo "$article;" ?> in "LayoutGrid" content for examples Miscellanous "articles".

But i don't put the tag <?php echo $article;" ?> only Before tag, Inside Tag, After tag and custom style.

How i can put my code php in:

<div id="Article1" style="overflow:hidden;">
<div class="blogitem">
<span class="blogsubject"><a href="javascript:popupwnd('','no','no','no','no','no','no','','','','')" target="_self">Une introduction à la grille de mise en page - Partie 1</a></span>
<div class="blogdate">Friday, December 11, 2020<br></div>

<!--- here for examples -->
<div class="no-thumb"> <?php echo $article;" ?></div>



<br>
</div>
<div class="clearfix visible-col1"></div>
</div>

best regards

Re: include PHP code

Posted: Fri Dec 11, 2020 3:40 pm
by Pablo
You cannot put code inside a random position of the code.
WYSIWYG Web Builder is not an HTML editor, so the HTML does not exist until you preview or publish the page.

But you can add your own code via an HTML object or Page HTML.
https://www.wysiwygwebbuilder.com/add_html.html