...

View Full Version : Integrating php into website



clubsoton
02-16-2006, 02: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:

http://www.club-amigos.co.uk

http://www.club-amigos.co.uk/forum/index.php

Any help would be appreciated.
Edit/Delete Message

fci
02-16-2006, 03:07 PM
uh..?
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?

clubsoton
02-17-2006, 02:14 PM
Hello,

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:

http://www.club-amigos.co.uk/mboard/mboard.php

http://www.club-amigos.co.uk/mboard/mboard.php

It works fine in Firefox.

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

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>
<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"><!--
//-->
</script>
</head>
<body>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
...
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.

clubsoton
02-17-2006, 02: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">
<head>
<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" />
</head>
<body>
<div id="wrapper">
<div id="header"></div>
<div id="navcontainer">
<ul>
<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>
</ul>
</div>
<div id="content">
<div id="rightcol">
</div>
<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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum