Auto Loans - Loans - Buy WoW Gold - Electricity Suppliers - Nature's Sunshine

PDA

View Full Version : PHP Form with SSI (html)


lektrikpuke
Feb 2nd 2008, 5:12 pm
Hi y'all,

I have a website that I use server side includes to show my navigation on. I've created a php form that accesses a database on a page. This works but now my navigation has disappeared.

The php setting up the functions is at the top of the page. The html (and php call to the functions) is below. My include statement is still the same (<!--#include virtual="../includes/thumb_nav.shtml" -->), so it has something to do with the php.

Any ideas?

lektrikpuke
Feb 2nd 2008, 5:21 pm
I forgot to mention that the navigation bar is js, and it appears not to be loading. A source of the page doesn't show the li's used in the nav bar. I know it's not a location issue as the page is in the same folder as the page that copied (as a template).

lektrikpuke
Feb 2nd 2008, 6:39 pm
Okay, just had a moment of clarity ... feel stupid (changed the extension from shtml, which is required for SSI, to php, which is required for php). Changed the include command to php style, and everything works fine. =)