Page 1 of 1

Simple Navigation PHP navigation issue - help!

Posted: Fri Feb 15, 2008 10:00 am
by CLTaylor5
Everah | Please use [code] or [code={lang}] tags when posting code in the forms (where {lang} is the lowercase name of the language you are highlighting as.

I'm using the following code to insert a navigation.php (with HTML code) into my html page.
But it's not working. Can anyone see what's wrong?

Code: Select all

<div align="center"><center><table border="0" cellpadding="0" cellspacing="0" width="765" height="138"><tr><td width="180" bgcolor="#B2B2C5" height="138"><table border="0" cellpadding="0" cellspacing="0" width="180" height="138" bgcolor="#B2B2C5" style="border-collapse: collapse" bordercolor="#111111"><tr><td align="center">
<font face="Curlz MT" size="6" color="#FFFFFF"><strong><dfn>Everything </dfn></strong></font><p><font face="Curlz MT" size="6" color="#FFFFFF"><strong><dfn>Menopause</dfn></strong></font></td></tr></table></td><td width="1" bgcolor="#663366"><img border="0" src="images/space.gif" width="1" height="1"></td><td height="22" width="120"><img border="0" src="images/H0881T_2.jpg" width="583" height="141" alt="Menopause | Menopause Symptom"></td></tr></table></center></div><div align="center"><center><table border="0" cellpadding="0" cellspacing="0" width="765" height="24"><tr><td width="180" background="images/left.gif">&nbsp;</td></tr></table></center></div><center>
<table border="0" cellpadding="0" cellspacing="0" width="765" style="height: 2207px"><tr><td width="180" bgcolor="#EAEAEA" valign="top"><table class="left" border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#BBCEBB"><tr><td width="100%"><div align="center"><center>&nbsp;<table class="newsbox1" border="0" cellpadding="0" cellspacing="0" width="156" id="table1"><tr><td class="leftlinks" width="100%">
 
<?php include("navigation.php"); ?>
 
</td></tr></table><p>
&nbsp;</p></center></div></td></tr></table><div align="center">&nbsp;<br><table border="0" cellpadding="0" cellspacing="0" id="table1" width="179"><tr><td width="83%"><p align="center"><font color="#003366" face="Verdana" size="1"><b>Sign up for Our Newsletter<br>Here and Receive Personal<br>Stories Every Month<br>(Your information is kept <br>strictly confidential)</b></font></p>

Last edited by CLTaylor5 on Thu Feb 14, 2008 12:26 pm, edited 2 times in total.


Everah | Please use [code] or [code={lang}] tags when posting code in the forms (where {lang} is the lowercase name of the language you are highlighting as.

Re: Simple Navigation PHP navigation issue - help!

Posted: Fri Feb 15, 2008 10:11 am
by liljester
I'm using the following code to insert a navigation.php (with HTML code) into my html page.
But it's not working. Can anyone see what's wrong?
youre trying to use a php include in an HTML page? the file that has the include in it must have a php extension, otherwise, the php tags wont be processed.