Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11
    Join Date
    Jan 2007
    Location
    Wales
    Posts
    2,432
    Tokens
    141

    Latest Awards:

    Default

    As Johno said, putting session_start(); above the include "config.php"; should work.

    Code:
    <?php
    session_start();
    include "config.php";
    ?>
     <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <link href="style.css" rel="stylesheet" type="text/css" />
    <html>
    <head>
    <title>The site</title>
    </head>
    <body>
    <center>
      <p>R&T CARTS </p>
      <br>
      <p>    
    <?php
    //REST OF PHP HERE
    ?>
    Free Online Games And Videos:
    http://www.vincesgames.com



  2. #12
    Join Date
    Sep 2009
    Location
    Hull
    Posts
    827
    Tokens
    0

    Latest Awards:

    Default

    Also if you have session_start(); in the config file also, that could be cause a problem...?

    Lew.
    Im not here to be loved, I love to be hated :-}


Page 2 of 2 FirstFirst 12

Posting Permissions

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