Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Jul 2005
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Integrating php into website

    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

  • #2
    fci
    fci is offline
    Senior Coder
    Join Date
    Aug 2004
    Location
    Twin Cities
    Posts
    1,345
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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?

  • #3
    New Coder
    Join Date
    Jul 2005
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Two heads

    You have two doctype and head sections in your page:
    Code:
    <!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.
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #5
    New Coder
    Join Date
    Jul 2005
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •