Re: Single Menu Page with Bv and PHP | |
Please understand that these are two different things that you need to do.
1. Create the element that will be included. This may be a menu, a footer, a side menu, a Logo, anything.
This page MUST start with <? function sidemenu() { ?> The second part is the actual code that creates the visual effect. In your case :
<img src="http://www.elizabethbaileyportraits.com/bv01037.gif"> in the case of a side menu (the name you asign to the function is NOT important, you could have evan called it "myheader" or "logo" or "mybanner" or whatever. As you see, you have missed the last part, <? } ?>
So the complete code would be: <? function sidemenu() { ?>
<img src="http://www.elizabethbaileyportraits.com/bv01037.gif">
<?
}
?> 2. Then, in your template page, you need to have simply <?php include ("sidemenu.php"); sidemenu(); ?> in the html box. However, if you building the pages in BV you do NOT need to worry about correct coding. If you actually use BV, there are only two things to do: 1. Create in BV a page with the element you want. In this case, the page must only have the image. The rest of the code you is automatically generated by BV. Place in the start of page <? function sidemenu() { ?> and, in the End of page: <? } ?> The second part, that described in step 2., is the same as described.
__________________
Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |