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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T23:53:05+00:00 2026-05-29T23:53:05+00:00

This is my current php script to show table standings I keep getting errors

  • 0

This is my current php script to show table standings I keep getting errors on my page when I try to add colspan=”2″ to stretch the header

 $data = mysql_query("SELECT * FROM `standings` WHERE division = 1 ORDER BY TotalPoints DESC;") 
 or die(mysql_error()); 
 Print "<table border cellpadding=10 width=500>"; 
 Print "<tr><th colspan="2">CONLEY</th></tr>";
  Print "<tr><th>Team Members</th><th>Points</th></tr>"; 
 while($info = mysql_fetch_array( $data )) 
 { 

 Print " <td>".$info['TeamMembers'] . "</td> ";
 Print " <td>".$info['TotalPoints'] . "</td> </tr>";

 } 
 Print "</table>"; 
  • 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-29T23:53:06+00:00Added an answer on May 29, 2026 at 11:53 pm

    You probably need to escape you quotation-marks, otherwise they will break the string and cause an error:

    Print "<tr><th colspan=\"2\">CONLEY</th></tr>";
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anyone help me with reversing this PHP page navigation? Current script setting shows
this is my current php-script. $mystr = 'Hello world. The world is nice'; substr_count($mystr,
Regarding the audio on this page: http://ebonytay.com/site/composer.php?clip=getOutOfTown#mediaplayer The audio controls show up in Chrome
I have this jQuery script: $(.show-div).data('loaded',false).click(function() { $.post(script.php, {id_1: var_id_1, id_2: var_id_2}, function(data){ $(this).data('loaded',true);
This is my current .htaccess Options +FollowSymLinks DirectoryIndex index.php RewriteEngine On RewriteBase /product/ RewriteCond
Trying to display current time with PHP (using this ): $date = date('m/d/Y h:i:s
I'm writing a PHP-Script which searches for particular headlines inside a dokuWiki-document. My current
For my current project, I am creating a php script that allows our Instructors
I was trying to make weather based PHP script to show weather related data.But,I'm
On my PHP site I would like to sometimes show a maintenance page to

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.