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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T09:10:49+00:00 2026-05-30T09:10:49+00:00

i try to solve a problem. i have an index page and users enter

  • 0

i try to solve a problem. i have an index page and users enter start and end date than press send a list is come like that:

What i want is to show date like that

  30191592 Izlesene.com izlesene_kanal_v4_360   1   
    30191592 Izlesene.com   izlesene_player_v4_240  1   
    30191592 Izlesene.com   player_mydonose 4   
    30191592 Izlesene.com   izlesene_sponsor_v4_360 16  
    30191592 Izlesene.com   izlesene_player_v4_360  32
    30191592 Izlesene.com   izlesene_cihan_v4   152
    30191592 Izlesene.com   izlesene_vodafone_v3    1052
    30191592 Izlesene.com   izlesene_sponsor_v4 3099    
    30191592 Izlesene.com   izlesene_kanal_v4   13727   
    30191592 Izlesene.com   izlesene_player_v4  2144704
    47335159 İzlesene Ntv   izlesene_player_v4  2546    
    47335159 Cihanhaber izlesene_cihan_v4   8794    2012-02-21
    30191592 Izlesene.com   izlesene_sponsor_v4 3099    
    30191592 Izlesene.com   izlesene_kanal_v4   13727
    30191592 Izlesene.com   izlesene_player_v4  2144704 
    47335159 İzlesene Ntv   izlesene_player_v4  2546    
    47335529 İzlesene Cihanhaber    izlesene_player_v4  2279    
    47335529 İzlesene Cihanhaber    izlesene_cihan_v4   8794    2012-02-20

I mean that i wanna show date just one time.

while ($info = mysql_fetch_array($dbResult)) {
                                        $total+= $info['totalEvents'];
                                        echo "<tr>";
                                        echo "<td><input type=checkbox name='check1' id='check1' value='" . $info['eventCategory'] . "' onclick=recal(" . $info['totalEvents'] . ",this.checked) checked></td><td>" . $info['id'] . "      " . $info['name'] . "</td>";
                                        echo "<td>" . $info['eventCategory'] . "</td>";
                                        echo "<td><id='totalEvents'>". $info['totalEvents'] . "</td>";
                                           echo "<td>". $info['Date'] . "</td>";
                                    }



                                    echo "<td><b id='total'>" . $total . "</b></td>";

This is my code what can be the changes?

Thank you.

enter image description here

  • 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-30T09:10:50+00:00Added an answer on May 30, 2026 at 9:10 am

    Just check if the date is the same as the previous. You can do like this:

    $previousDate = '';
    while ($info = mysql_fetch_array($dbResult)) {
                                            $total+= $info['totalEvents'];
                                            echo "<tr>";
                                            echo "<td><input type=checkbox name='check1' id='check1' value='" . $info['eventCategory'] . "' onclick=recal(" . $info['totalEvents'] . ",this.checked) checked></td><td>" . $info['id'] . "      " . $info['name'] . "</td>";
                                            echo "<td>" . $info['eventCategory'] . "</td>";
                                            echo "<td><id='totalEvents'>". $info['totalEvents'] . "</td>";
                                            if ($info['Date'] != $previousDate){
                                               echo "<td>". $info['Date'] . "</td>";
                                            } else {
                                               echo "<td></td>";
                                            }
                                            $previousDate = $info['Date'];
                                        }
    
    
    
                                        echo "<td><b id='total'>" . $total . "</b></td>";
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i try to solve a problem but did not succeed. I have a index
I have a strange problem that I could not solve. When I try to
I have a problem which I try to solve with mathematica. I am having
i have this problem: starting from an empty list (0 elements) i want check
I try to connect to oracle 11g but I have problem and receive the
its been I while since I try to solve that problem, I've already asked
i have this problem: as i can add list to one list? i have
Hi I try solve this situation. I have WPF app with MVVM design. I
I have a problem im trying to solve with css its best I show
I need help to solve this problem: I have a csv file like this

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.