Fireworks menu into a php block help!

Reply

Join Date: Apr 2007
Posts: 4
Reputation: Legend01 is an unknown quantity at this point 
Solved Threads: 0
Legend01 Legend01 is offline Offline
Newbie Poster

Fireworks menu into a php block help!

 
0
  #1
May 3rd, 2007
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
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 1,422
Reputation: stymiee is on a distinguished road 
Solved Threads: 35
Moderator
stymiee's Avatar
stymiee stymiee is offline Offline
He's No Good To Me Dead

Re: Fireworks menu into a php block help!

 
0
  #2
May 3rd, 2007
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.
John Conde
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 4
Reputation: Legend01 is an unknown quantity at this point 
Solved Threads: 0
Legend01 Legend01 is offline Offline
Newbie Poster

Re: Fireworks menu into a php block help!

 
0
  #3
May 5th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 160
Reputation: w_3rabi is an unknown quantity at this point 
Solved Threads: 9
w_3rabi's Avatar
w_3rabi w_3rabi is offline Offline
Junior Poster

Re: Fireworks menu into a php block help!

 
0
  #4
May 5th, 2007
no need for th [php]$content[/php]
you just do like
[php]

<?php
//your code goes here
?>

<!--here goes the menu-->
<script>
</script>


[/php]
programming is an art ,only for those who can understand it.
- th3 php wr3nch -
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 1207 | Replies: 3
Thread Tools Search this Thread



Tag cloud for PHP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC