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 7187567
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T18:52:31+00:00 2026-05-28T18:52:31+00:00

As you can tell by the script below, I have a problem, I’m not

  • 0

As you can tell by the script below, I have a problem, I’m not going to go into much detail as to what the script does, because it is pretty obvious based on just reading the script…

<body background="Background here" bgproperties="fixed">
<?php
$DBNAME="login info here";
$DBUSER="login info here";
$DBPASSWORD="login info here";
$DBHOST="login info here";

//Connection is below
mysql_connect($DBHOST, $DBUSER, $DBPASSWORD) or die("<center>Cannot connect to MySQL</center>");
mysql_select_db($DBNAME) or die("<center>Cannot Connect to MYSQL</center>");

$sql = 'SELECT `nick`, `votes` FROM `votesdb` ORDER BY `votes` desc LIMIT 0, 10 '; 
$result=mysql_query($sql);

$fields_num = mysql_num_fields($result);

echo "{$table}</h1>";
echo "<table border='0' bgcolor=#FFFFFF><tr>";
// printing table headers
for($i=0; $i<$fields_num; $i++)
{
    $field = mysql_fetch_field($result);
    echo "<td>{$field->name}</td>";
}
echo "</tr>\n";
// printing table rows
while($row = mysql_fetch_row($result))
{
    echo "<tr>";

    // $row is array... foreach( .. ) puts every element
    // of $row to $cell variable
    foreach($row as $cell)
        echo "<td>$cell</td>";
    echo "</tr>\n";
}
mysql_free_result($result);
?>

As you can tell by going here: [http://legacyserver.info/fbxtop.php][1]
The tables background does not blend with the image,tiling background on the rest of the page, obviously, this looks ugly and weird, How could I change the background of the table to the background of the rest of the page! I tried googling, but had no avail. Please help! 🙂

Obviously I also need to figure out how to change the text color too 🙂

  • 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-28T18:52:31+00:00Added an answer on May 28, 2026 at 6:52 pm

    Just add this :

    <table border='0' style='background-color: transparent; color: white;'>
    

    If you want to show table at the center of the page you can add margin:

    <table border='0' style='background-color: transparent; color: white;margin:0 auto;'>
    

    Hope this helps 🙂

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

Sidebar

Related Questions

can anybody tell me why is the following code not working? <script type=text/javascript src=../../Scripts/jquery.js></script>
Can anyone tell me why when I ran a script with the below contents
I have a problem with this script, something is going wrong. Rnumer stays undefined.This
Can anyone tell me why this bash script works if I cut and paste
Can anyone please tell me how do I make this script run in IE
so from what i can tell, you have to specify artifacts and working directory
I have a (from what I can tell) perfectly working Linux setup (Ubuntu 8.04)
Below is the script I have written to change the value of one of
Anyone can tell me which one is better (JAXB or Apache XMLBeans) taking in
As far as I can tell, this is isn't possible, so I'm really just

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.