0

Hi all i have recently been using fireworks MX and have created a working menu. it is uploaded on my server and currently have it in a html page as this was the code fireworks gave me.
How can i put this html / javascript menu into a php block? Looking at tutorials online it seems like i need to make a block and using the $content code insert the html?
I have some basic knowledge of php but this seems a bit advanced and i am struggling to get it to work!
Any help would be greatly appreciated!
thanks

3
Contributors
3
Replies
4
Views
10 Years
Discussion Span
Last Post by w_3rabi
0

With PHP you can embed HTML anywhere you want to. Just close your open PHP tags, put the HTML in place, and then reopen your PHP tags.

0

but in order for it to appear in a php block it needs to use the $content tag is that right??
So your saying all i need to do is open the php tags
<?php
$content ="
HTML Code
"
?>

and thats it??
cheers for your help

0

no need for th

$content

you just do like

<?php 
//your code goes here 
?>

<!--here goes the menu-->
<script>
</script>
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.