Jump to content

gj0519

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

gj0519's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I currently have a script that I use a while loop to get my data. What I am trying to figure out is a way to eliminate any records that are duplicates, like if 2 dates are the same to only show 1. I have attached a png of what my output currently looks like. Here is what my code is so far. $message=""; while($list=mysqli_fetch_array($result)) { $date=$list['gm_date']; $time=$list['gm_time']; $gid=$list['gameid']; $fldname=$list['fld_name']; $tname=$list['team_name']; $rlname=$list['ref_lname']; $message.="<tr> <td>$date</td> <td>$time</td> <td>$gid</td> <td>$fldname</td> <td>$tname</td> <td>$rlname</td> </tr>"; Thanks, GJ [attachment deleted by admin]
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.