Jump to content

Exclude Data from Query


iceblox

Recommended Posts

Hi All,

 

I have a deals database and im trying to exclude rows of data from the database if the "NetworkName" equals "Pay As You Go" the query itself its pretty easier but i just cant get it to do it.

 

Anyone know how to achieve this?

 

$query = "SELECT * FROM deals WHERE Name = '$model1' ORDER BY TotalCost ASC LIMIT 15";

Link to comment
https://forums.phpfreaks.com/topic/60869-exclude-data-from-query/
Share on other sites

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.