Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 829295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T03:51:37+00:00 2026-05-15T03:51:37+00:00

my code for the php page displaying the divs <?php session_start(); require_once(classlib/mainspace.php); if (isset($_SESSION[‘username’])==FALSE)

  • 0

my code for the php page displaying the divs

<?php
session_start();
require_once("classlib/mainspace.php");

if (isset($_SESSION['username'])==FALSE) {
  header("location:login.php");
}
$user = new User($_SESSION['username']);
?><!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>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link rel="stylesheet" type="text/css" href="style/style.css" />
  <title>SimpleTask - Home</title>
  </head>
  <body>
    <div id="main">
      <div id="menu">
        <div id="items">
          <ul>
            <li><a href="home.php">home</a></li>
            <li>&bull;</li>
            <li><a href="projects.php">my projects</a></li>
            <li>&bull;</li>
            <li><a href="comments.php">my comments</a></li>
          </ul>
        </div>
        <div id="user">
          <p>Welcome, <?php echo $user->GetRealName(); ?><br/><a href="editprofile.php">edit profile</a> &bull; <a href="logout.php">logout</a></p>
        </div>
      </div>
      <div id="content">
        <h1>HOME</h1>
      </div>
      <div id="footer">
      <p>footer text goes here here here here</p>
      </div>
    </div>
  </body>
</html>

and you can find my CSS here http://tasker.efficaxdevelopment.com/style/style.css

and to view the live page go here http://tasker.efficaxdevelopment.com/login.php

username:admin
password:password

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T03:51:37+00:00Added an answer on May 15, 2026 at 3:51 am

    Add:

    h1,p {
    margin:0;
    }
    

    Those elements and a few others have margins and paddings by default.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How to create simple PHP COMET server page displaying current time? I need code
I have the following code in a php page <div class=vmenu> <div class=first_li><span >Add
I have a php page and i have some javascript code to have a
i have tried this code to redirect a php page.but it s not working
I want a php page to 'display' a pdf. Here is the code: <?php
Below is my code for a simple form in the create_session.php page. I am
i have this simple code to load data from other php page using get
I'm having a strange problem. I have a HTML page with PHP code which
This is the php code for date format on my web page function starkers_posted_on()
When I use the following PHP code: $id = $_GET['page']; $page = include ($id.'.php');

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.