script and html conflict in trying to create a header.


Posted on 16th Feb 2014 07:03 pm by admin

I have an error is occurring because of an html webpage with a "php require" at the top of the page calling a script. Somehow I'm having a problem with the html page and the script both trying to create a page header.

The result is.. when the script executes. I get an error.

Did you know?Explore Trending and Topic pages for more stories like this.
I'm a weak coder and this is driving me crazy. I've read header section in this forum. And it's a bit complicated for me. please tolerate my "inability."
----------
Html page :
<?php require('geoipscript.php'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>the site</title>

The script is a bit more complicated.

<link href="css/reset.css" rel="stylesheet" type="text/css" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
No comments posted yet

Your Answer:

Login to answer
268 Like 25 Dislike
Previous forums Next forums
Other forums

PHP Include not working
The website is http://www.grlistingservices.com

The code block is as follows:

<

What makes a script your own?
If someone finds a login script online, and changes some variable names around and some other minor

Had a simple form script that suddenly stopped working
It was made about a year ago and had been working fine. Last time it was known to work for sure was

pagination - need help on passing of search query.
Hi, i have been trying for days but couldn't get this sorted out. Would like some professional help

"GROUP BY" in arrays
Well i'm looking to do something i usually could do easily using COUNT and GROUP BY if it was a sql

Something like an INI editor or a DelimitedText-Editor
Hi all,

Am very, very, very new to PHP and not sure if I should be posting this to a Javascri

Not reloading page after php form submit
Hello helpful souls out there. You guys have come through for me in the recent past and I'm hoping s

$_FILES array
Ok,

I just started experimenting with PHP today. My goal right now is to have people be able

limitations on array_unique()
Does any one know what/how imitations are applied to array_unique? I have an issue where no matter h

a very simple php header question (sorry!)
Firstly...I do apologise if this annoys anyone....a header error

I'm do not know php &

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash