View Full Version : Integrating php into website

02-16-2006, 03:37 PM
I have a php forum but do not know how to intregrate this into my site so that it fits into the content section of the site:



Any help would be appreciated.
Edit/Delete Message

02-16-2006, 04:07 PM
1. describe the problem you're having or what you have do so far
2. post the code you are having problems with (if applicable)
3. post code of expected results/output (if applicable)

in your case, you could tell us what you have done so far.
what forum software have you tried installing?
are you getting an erroring? what is the problem?

02-17-2006, 03:14 PM

I have managed to rectify the issue of integrating a guestbook and forum into the site.
The only problem l have now is that it aligns to the right when viewed in IE.
Any ideas as to the cause, pages:



It works fine in Firefox.

02-17-2006, 03:34 PM
You have two doctype and head sections in your page:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<meta content="text/html; charset=windows-1250">
<link href="style.css" type="text/css" rel="stylesheet">
<script language="Javascript" src="javascript.js" type="text/javascript"><!--
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="http://www.w3.org/1999/xhtml">
this may throw IE into quirks mode. Remove at least one, keep the most appropriate one; look out for specifying the proper style sheet (there currently are two different ones).

By the way: including tons of keywords will not help your search ranking; it'll sooner hurt it. Pick 5-7 keywords that fit the content closely.

02-17-2006, 03:52 PM
Thats great many thanks.
I understand what you mean but what l don't understand is why it is showing 2 , as in the header.txt file l only have one.

This is header.txt:

<html xmlns="http://www.w3.org/1999/xhtml">
<title>Useful links</title>
<meta name="keywords" content="social clubs southampton,clubs southampton,single events hampshire,new friends hampshire,new friends southampton,looking new friends,meeting new people,social clubs south coast,looking friendship uk,social clubs UK">
<meta name="description" content="A social club for people to go out enjoy themselves and try new activites">
<meta name="robots" content="index,follow">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="http://club-amigos.co.uk/amigos_style.css" rel="stylesheet" type="text/css" />
<div id="wrapper">
<div id="header"></div>
<div id="navcontainer">
<li> <a href="index.htm">Home</a> </li>
<li> <a href="faq.htm">FAQ's</a> </li>
<li> <a href="links.htm">Links</a> </li>
<li> <a href="feb.html">Calendar</a></li>
<li> <a href="http://www.club-amigos.co.uk/mboard/mboard.php">Forum</a></li>
<li> <a href="http://www.club-amigos.co.uk/guestbook/gbook.php">Guestbook</a></li>
<li> <a href="contact.html" id="last">Contact</A>
<div id="content">
<div id="rightcol">
<h1>Message Board</h1>

I don't know what file the doc type needs to be removed in?
Is it this file or the php file or index.htm file?
Or does it not matter