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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T19:07:22+00:00 2026-05-17T19:07:22+00:00

$foot = mysql_query(SELECT count(*) FROM tblQA WHERE intResponseID = ” AND cCategory = ‘Football’

  • 0
$foot = mysql_query("SELECT count(*) 
                       FROM tblQA 
                      WHERE intResponseID = '' 
                        AND cCategory = 'Football' as qcount, 
                    (SELECT max(dPostDateTime) 
                       FROM tblQA 
                      WHERE intResponseID = '' 
                        AND cCategory = 'Football') as lastq");


$football = mysql_fetch_array($foot);

echo "<td class='forum'>" . $footbll['qcount'] . "</td>";
echo "<td class='forum'>" . $footbll['lastq'] . "</td>";

This doesn’t display anything in my table. I didn’t post the entire HTML code, i have the table structure fine.

  • 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-17T19:07:23+00:00Added an answer on May 17, 2026 at 7:07 pm

    Ok, here is my solution. I figured it out:

    $foot = mysql_query("SELECT count(*), max(dPostDateTime) FROM tblQA WHERE intResponseID = '' AND cCategory = 'Football'");
    
    $football = mysql_fetch_assoc($foot);
    
    
    echo "<td class='forum'><center>" . $football['count(*)'] . "</center></td>";
    echo "<td class='forum'><center>" . $football['max(dPostDateTime)'] . "</center></td>";
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have produced the following query. SELECT t.id AS playerid, dp.first_name, dp.surname FROM .TBL_FOOT_CAREER_TEAMS.
Quite simply, I have the following query $q = SELECT fixture_date FROM .TBL_FOOT_GAMES. WHERE
I have the following query.... SELECT fixture_date FROM tbl_foot_games WHERE fixture_date < now() AND
$q = SELECT u.username, p.position FROM .TBL_FOOT_TOUR_PLAYERS. p INNER JOIN .TBL_USERS. u ON p.userid
SELECT u.username, r.position, r.score, r.winner, t.team FROM .TBL_FOOT_TOUR_ROUNDS. r LEFT JOIN .TBL_USERS. u ON
var foot = document.createElement(div); $('<div class=t></div><div class=b></div>').appendTo(foot); foot.id='foot'; //***** $(foot,'> .t').mouseover(function(){...}) i want to
I was reading about pixel per foot but can someone teach how can i
Is there a more efficient (in terms of memory foot print) binding to datagrid
i want to render one of these sets of views: head body-$id1 foot OR
The reason I am asking is that I am thinking of building a foot

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.