Code:
<?
$sql = "SELECT * FROM webref_rss_details limit 15";
$result = mysql_query($sql);
while($row = mysql_fetch_assoc($result)){
?>
The above query returns all the results from the webref_rss_details table.
If I want to only return results from that table that have say a "1" in the "bestsellers" column, is that quite simple, can I do some select from...where query?
If anyone knows a tutorial how to filter the results there, would be helpful..
thanks