PHP Includes - how to
Posted: Sun Feb 04, 2018 9:10 pm
New to WYSIWYG. I've searched the forum and read "Adding HTML or Javascript to a web page" and admit, I'm still confused. I want to insert a placeholder/text box/something (on a page) that retrieves the .php page also uploaded to the server. The server side page is a simple (not necessarily accurate) php visitor counter.
For lack of a better way to explain - I want a text area that says "To Date" <!--?php include("count.php"); ?--> "people have visited". The "count.php" generates the actual text number.
Where, specifically, do I place this code? I've tried placing it in the text Object HTML, Inside Tag but then it shows up before the text. If I place it After Tag, it's outside the div. Will i need two text objects?
Can i just use some other object, such as a shape, and place the code inside the shape somehow then surround the shape with text?
Thanks
For lack of a better way to explain - I want a text area that says "To Date" <!--?php include("count.php"); ?--> "people have visited". The "count.php" generates the actual text number.
Where, specifically, do I place this code? I've tried placing it in the text Object HTML, Inside Tag but then it shows up before the text. If I place it After Tag, it's outside the div. Will i need two text objects?
Can i just use some other object, such as a shape, and place the code inside the shape somehow then surround the shape with text?
Thanks