Compare Lawn Mowers

="2"){$brand = " and brand='".$brand."'";}else{$brand="";} if(strlen($year)>="2"){$year = " and year >= '".$year."'";}else{$year="";} if($mindeck>"0"){$mindeck = " and deck >= '".$mindeck."'";}else{$mindeck="";} if($maxdeck>"0"){$maxdeck = " and deck <= '".$maxdeck."'";}else{$maxdeck="";} if($minhorse>"0"){$minhorse = " and horse >= '".$minhorse."'";}else{$minhorse="";} if($maxhorse>"0"){$maxhorse = " and horse <= '".$maxhorse."'";}else{$maxhorse="";} if(strlen($decktype)>="2"){$decktype = " and decktype='".$decktype."'";}else{$decktype="";} if(strlen($mulch)>="2"){$mulch = " and mulch='".$mulch."'";}else{$mulch="";} if(strlen($bag)>="2"){$bag = " and bag='".$bag."'";}else{$bag="";} if(strlen($side)>="2"){$side = " and side='".$side."'";}else{$side="";} if(strlen($order)>="2"){$order = " order by '".$order."'";}else{$order="";} $result = mysql_query("SELECT * FROM mowers where ".$type.$brand.$year.$mindeck.$maxdeck.$minhorse.$maxhorse.$mulch.$bag.$side.$order.""); echo""; while ( $row = mysql_fetch_array($result) ) { $brandurl = str_replace(" ", "_", $row['brand']); $pic="http://www.lawnmowerfacts.com/images/mowers/".$brandurl."/thumbs/".$row['model'].".jpg"; echo""; echo""; } echo"
Pic Name Engine (hp/brand) Deck (size/type)
".$row['brand']."
".$row['name']."
".$row['horse']."hp
".$row['engine']."
".$row['deck']."\"
".$row['decktype']." deck
"; ?>






Lawnmower Facts   |   Privacy   |   Add Your Link

All Right Reserved.