Jump to content

Seperate results by change in first order by term


Guernica

Recommended Posts

Here's the query:

$sql = mysql_query("SELECT * FROM resources WHERE gameCat = '' ORDER BY systemCat,order_id");

 

I want something to happen when the systemCat changes in the results. Like this:

 

if($row['systemCat'] CHANGES){
echo '<div id="seperator"></div>';
}

 

Any ideas? Thank you!

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.