Im trying to make a seperate include php file for my navbar but for some reason it's not working. Instead their is this weird yellow php symbol. It looks like a little yellow shield with white letters that say php. I don't know whats wrong. -
<table width="100%" border="0" cellpadding="0" cellspacing="0" id="reportslist">
-
<tr>
-
<td width="14%" valign="top" bgcolor="#FFFFFF"><p>•Categories •</p>
-
<p>
-
<?php include("include_sidenav.php");?>
-
</p></td>
-
<td width="86%" valign="top"><div align="center">
-
<table width="700px" border="0" cellspacing="0" cellpadding="5">
-
<tr>
-
<td bgcolor="#FFFFFF"><p align="left" style="font-size:12px; font:Arial, Helvetica, sans-serif; font-style:italic; padding:10px;">Welcome to Natural Food Reports!! Here, we offer free reports on a variety of natural food prodcuts. Information has been gather from all across the web from organic food databases to local farmers to the regular person just looking to eat healthier. So feel free to browse our reports down below or if you know exactly what you're looking for, click on <a href="reports.php" class="bluelinks">Reports</a> to see a list of all our reports. Happy Eating!!! </p></td>
-
</tr>
-
</table>
-
-
HERES WHAT IN THE PHP FILE IM REFERRING TO -
<link href="root/index style/index.css" rel="stylesheet" type="text/css">
-
<div><p><a href="http://www.naturalfoodreport.com/healthandsuperfoods.php" class="BIGBLUELINKS"> •Health & Superfoods</a></div>
-
<div><p><a href="http://www.NaturalFoodReports.com/herbsandspices.php" class="BIGBLUELINKS">•Herbs & Spices</a></p></div>
-
<div><p><a href="http://www.NaturalFoodReports.com/supplements.php" class="BIGBLUELINKS">•Supplements</a></p></div>
-
<div><p><a href="http://www.NaturalFoodReports.com/cleanses.php" class="BIGBLUELINKS">•Cleanses</a></p></div>
-
<div><p><a href="http://www.NaturalFoodReports.com/sustainable.php" class="BIGBLUELINKS" >•Sustainable</a></p></div>
-
<div><p><a href="http://www.NaturalFoodReports.com/aromatherapy.php" class="BIGBLUELINKS">•Aromatherapy</a></p></div>
-
No, that's not the issue.
I'm pretty sure the issue here is that the OP is looking at this in Dreamweaver. Dreamweaver's preview is NOT a valid look at the final outcome of your pages. View your pages in a real browser, instead.
As a side note, I'd recommend weening yourself off of Dreamweaver. Using it encourages inefficient code.
7 1819
Do the files with a .php suffix have opening and closing php tags?
Is the first saved as a php file?
Why are you calling the second a php file when there is only HTML?
Never met the yelow shield but sounds like file is not being parsed
it's saved as a .php file but I don't have any php tags in the php file. where should i put them?
opening the file - <?php
closing the file - ?>
like this? -
<?php
-
<link href="root/index style/index.css" rel="stylesheet" type="text/css">
-
<div><p><a href="http://www.naturalfoodreport.com/healthandsuperfoods.php" class="BIGBLUELINKS"> •Health & Superfoods</a></div>
-
<div><p><a href="http://www.NaturalFoodReports.com/herbsandspices.php" class="BIGBLUELINKS">•Herbs & Spices</a></p></div>
-
<div><p><a href="http://www.NaturalFoodReports.com/supplements.php" class="BIGBLUELINKS">•Supplements</a></p></div>
-
<div><p><a href="http://www.NaturalFoodReports.com/cleanses.php" class="BIGBLUELINKS">•Cleanses</a></p></div>
-
<div><p><a href="http://www.NaturalFoodReports.com/sustainable.php" class="BIGBLUELINKS" >•Sustainable</a></p></div>
-
<div><p><a href="http://www.NaturalFoodReports.com/aromatherapy.php" class="BIGBLUELINKS">•Aromatherapy</a></p></div>
-
?>
-
-
No, that's not the issue.
I'm pretty sure the issue here is that the OP is looking at this in Dreamweaver. Dreamweaver's preview is NOT a valid look at the final outcome of your pages. View your pages in a real browser, instead.
As a side note, I'd recommend weening yourself off of Dreamweaver. Using it encourages inefficient code.
what should I use instead?
I'm an advocate of clean, simple, efficient applications that serve a specific purpose. Dreamweaver is a product that tries to be too many products at once.
I recommend: - Notepad++ for writing code,
- FileZilla for FTP communication with the server, and
- Your browser for viewing the results.
- Also, it's a good idea to have an installation of Apache, MySQL, and PHP on your PC in order to test code before uploading it. You can get a user-friendly package of these from http://www.wampserver.com/en/ for Windows PCs.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Kevin |
last post by:
I use debug->"Start without debugging", I get the
following message on the browser window. What log file
is it talking about?
Server Application Unavailable
The web application you are...
|
by: Dirk Reske |
last post by:
Hello,
I've tried to convert a MP3 file to WAVE using the Audio Copression Manager.
my Destination format is: WAVE_FORMAT_PCM
All works fine
what a file Type do I get then?
When I try to open...
|
by: ted.j.conway |
last post by:
Seems like it should be so simple, but how does one play a .wav file
and then another upon its completion (and a third after that and...),
WITHOUT using HTML+TIME?
Any code examples - IE and/or...
|
by: thi |
last post by:
Hi,
Just curious what does the @ system means in c#. Some of the sample codes i
read it written as:
bool bExists = File.Exists(@"c:\\hello.txt");
but i can get the same result as using
...
|
by: LKavitha4 |
last post by:
hi,
Please tell me what header file is used for sleep ( ) function in linux c++.
Thank you.
|
by: dr |
last post by:
does anyone see what is wrong with my .gif download logic? no matter what
image url i try it downloads a junk file that can't be opened in any paint
program.
System.Net.WebRequest myRequest =...
|
by: Anonymous |
last post by:
On MS site: http://msdn2.microsoft.com/en-us/library/esew7y1w(VS.80).aspx
is the following garbled rambling:
"You can avoid exporting classes by defining a DLL that defines a class
with...
|
by: cliu |
last post by:
My problem happens in my c# Windows ce 5.0 project. I am trying to open a serial port on a Symbol HHT by using CECreateFileW function of platform invoke from the coredll.dll as follows:
...
|
by: nar0122 |
last post by:
Program received signal SIGSEGV, Segmentation fault.
0x0000000000402580 in writeBit (f=0x0, b=0) at binary1.cpp:26
26 putc(b + '0', f->file);
Information:
writeBit function is as follows:
...
|
by: jeddiki |
last post by:
Hi,
I am running ZipArchive on a downloaded zipped file
and I am getting An Error No. 19.
My log gives this output:
This is the script I am running:
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
| |