473,385 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Multiple instances of body tags in a page due to the includes each having a set.

http://www.promcars.co.uk/pages/rebecca.php

this is not the way it's supposed to be, is it... ok then for me just
to remove the body tags from the include files, it'll all work ok? I
don't know php and I'm working with a webmaster who, I suspect,
doesn't know it too well either.

BB
--

http://www.kruse.co.uk/seo-articles.htm
http://www.here-be-posters.co.uk/mot...rs-sitemap.htm
http://www.crystal-liaison.com/crystal-world/index.html

Apr 1 '06 #1
5 2071
Big Bill wrote:
http://www.promcars.co.uk/pages/rebecca.php

this is not the way it's supposed to be, is it... ok then for me just
to remove the body tags from the include files, it'll all work ok? I
don't know php and I'm working with a webmaster who, I suspect,
doesn't know it too well either.


Yep, something like:

<body>
<?php include 'content.php' ?>
</body>
JW
Apr 1 '06 #2
On Sat, 1 Apr 2006 13:48:58 +0200, "Janwillem Borleffs"
<jw@jwscripts.com> wrote:
Big Bill wrote:
http://www.promcars.co.uk/pages/rebecca.php

this is not the way it's supposed to be, is it... ok then for me just
to remove the body tags from the include files, it'll all work ok? I
don't know php and I'm working with a webmaster who, I suspect,
doesn't know it too well either.


Yep, something like:

<body>
<?php include 'content.php' ?>
</body>
JW


So if I'm reading this right, what gets included is the file called
content.php and that doesn't have to begin and end with body tags. I
suspect this explains why the webmaster doesn't ever attempt to
externalise javascripts or style sheets, or add to the externalised
files I already made when he works on a site after me, he just doesn't
know how.

BB

--

http://www.kruse.co.uk/seo-articles.htm
http://www.here-be-posters.co.uk/mot...rs-sitemap.htm
http://www.crystal-liaison.com/crystal-world/index.html

Apr 1 '06 #3
Big Bill wrote:
http://www.promcars.co.uk/pages/rebecca.php

this is not the way it's supposed to be, is it... ok then for me just
to remove the body tags from the include files, it'll all work ok? I
don't know php and I'm working with a webmaster who, I suspect,
doesn't know it too well either.

BB


Several have already answered this question when you asked it previously.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Apr 1 '06 #4
On Sat, 01 Apr 2006 09:10:28 -0500, Jerry Stuckle
<js*******@attglobal.net> wrote:
Big Bill wrote:
http://www.promcars.co.uk/pages/rebecca.php

this is not the way it's supposed to be, is it... ok then for me just
to remove the body tags from the include files, it'll all work ok? I
don't know php and I'm working with a webmaster who, I suspect,
doesn't know it too well either.

BB


Several have already answered this question when you asked it previously.


I was checking I had it right. This isn't my stuff it's for, it's for
a client.

BB
--

http://www.kruse.co.uk/seo-articles.htm
http://www.here-be-posters.co.uk/mot...rs-sitemap.htm
http://www.crystal-liaison.com/crystal-world/index.html

Apr 1 '06 #5
Big Bill wrote:
On Sat, 01 Apr 2006 09:10:28 -0500, Jerry Stuckle
<js*******@attglobal.net> wrote:

Big Bill wrote:
http://www.promcars.co.uk/pages/rebecca.php

this is not the way it's supposed to be, is it... ok then for me just
to remove the body tags from the include files, it'll all work ok? I
don't know php and I'm working with a webmaster who, I suspect,
doesn't know it too well either.

BB


Several have already answered this question when you asked it previously.

I was checking I had it right. This isn't my stuff it's for, it's for
a client.

BB


So, you expect to ask the same question and get different answers?

If you do, you're either asking the wrong question, or asking the right question
in the wrong place!
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Apr 2 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Ohaya | last post by:
Hi, I'm trying to understand a situation where ASP seems to be "blocking" of "queuing" requests. This is on a Win2K Advanced Server, with IIS5. I've seen some posts (e.g.,...
10
by: Harlan Messinger | last post by:
Different pages on a web site can vary in the level of header to which they descend. One short page may have only <h1>, or <h1> and <h2>. Another, detailed page, might get all the way down to <h6>....
12
by: qwe | last post by:
More curiosity than a real problem, but... I've been abusing HTML ID attributes slightly. ..box { margin: 10px; } #red { background-color: #ff0000;
12
by: tshad | last post by:
I am not sure why I am getting this error: I have the following code I want to run from another include file that holds all my functions. functions.inc...
3
by: Pint | last post by:
I have a simple web user control. I'd like for this form to appear twice on a single aspx page. How do I get around the problem of having more than one <form runat=server> tag? More background:...
3
by: Bart Van der Donck | last post by:
Hello, I'm having a hard time trying to configure printed output that consists of multiple pages. The idea is the following: <div style=" border: 1px solid blue; position: absolute; top:...
3
by: nigelesquire | last post by:
Please help! I'm trying to clone and delete multiple rows with JavaScript. I need two delete buttons that work...! I only have one for now, but it's not working properly, the output count is...
3
by: anu b | last post by:
Hii I am using System.net.mail for sending email... i need to send a webpage with its html content as my email body .....for that i used mail.Isbodyhtml as true...but it is not working for me...
4
by: henry | last post by:
Folks: As a follow-up to my recent posts, I want to ask some more general questions about multiple instances of a CSS link in a page as seen by browsers due to server-side file inclusion. Let...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
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
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.