$findme = 'pineapples';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$pineapples = 'Y';
echo "
We found $findme in crops ( $crops ) at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
$pineapples = "";
}
$findme = 'apples';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$apples = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
$apples = "";
}
$findme = 'aronia';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$aronia = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
$aronia = "";
}
$findme = 'asian pears';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$asianpears = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
$asianpears = "";
}
$findme = 'asparagus';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$asparagus = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
$asparagus = "";
}
$findme = 'apricots';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$apricots = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
$apricots = "";
}
$findme = 'avocados';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$avocados = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
$avocados = "";
}
$findme = 'beans';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$beans = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
$beans = "";
}
$findme = 'beetroot';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$beets = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
$beets = "";
}
$findme = 'beets';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$beets = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
$beets = "";
}
$findme = 'blackberries';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$blackberries = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
$blackberries = "";
}
$findme = 'blueberries';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$blueberries = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
$blueberries = "";
}
$findme = 'boysenberries';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$boysenberries = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
$boysenberries = "";
}
$findme = 'brussels';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$brussels = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( "brussels sprouts", "", $crops );
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
$brussels = "";
}
$findme = 'lima beans';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$limabeans = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
$limabeans = "";
}
$broccoli = "";
$findme = 'broccoli';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$broccoli = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
$broccoli = "";
}
$findme = 'broccolli';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$broccoli = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'brocoli';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$broccoli = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'brocolli';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$broccoli = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'carrots';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$carrots = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
$carrots = "";
}
$findme = 'collards';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$collards = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
$collards = "";
}
$findme = 'collard greens';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$collards = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
$collards = "";
}
$findme = 'cherries';
$cherries = "";
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$cherries = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'chestnuts';
$chestnuts = "";
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$chestnuts = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'corn';
$corn = "";
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$corn = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'cotton';
$cotton = "";
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$cotton = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'cranberries';
$cranberries = "";
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$cranberries = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'cucumbers';
$cucumbers = "";
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$cucumbers = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'pickling cucumbers';
$cukespickling = "";
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$cukespickling = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'red currants';
$currantsred = "";
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$currantsred = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'black currants';
$currantsblack = "";
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$currantsblack = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'currants';
$currantsblack = "";
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$currantsblack = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'currents';
$currantsblack = "";
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$currantsblack = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$eggplant = "";
$findme = 'eggplants';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$eggplant = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'eggplant';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$eggplant = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'aubergine';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$eggplant = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'elderberries';
$elderberries = "";
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$elderberries = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'figs';
$figs = "";
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$figs = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'flowers';
$flowers = "";
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$flowers = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$flowersdaffodils = "";
$findme = 'daffodils';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$flowersdaffodils = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'dafodils';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$flowersdaffodils = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'dafodills';
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$flowersdaffodils = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'lilies';
$flowerslilies = "";
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$flowerslilies = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'sunflowers';
$flowerssun = "";
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$flowerssun = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'tulips';
$flowerstulips = "";
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$flowerstulips = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'zinnias';
$flowerszinnia = "";
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$flowerszinnia = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'garlic';
$garlic = "";
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$garlic = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'gooseberries';
$gooseberries = "";
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$gooseberries = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'seedless grapes';
$grapesseedless = "";
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$grapesseedless = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'table grapes';
$grapestable = "";
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$grapestable = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'wine grapes';
$grapeswine = "";
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$grapeswine = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'grapefruit';
$grapefruit = "";
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$grapefruit = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'haskaps';
$haskaps = "";
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$haskaps = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'herbs';
$herbs = "";
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$herbs = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}
$findme = 'horseradish';
$horseradish = "";
$posendlistings = stripos($crops, $findme);
if ($posendlistings !== false) {
$horseradish = 'Y';
// echo "We found '$findme' at position $posendlistings
";
$crops = str_ireplace( $findme, "", $crops );
}else{
// echo "Did NOT find '$findme' at position $posendlistings
";
}