parameter . "
"; if($st_database_error == "") //get categories for side bar display { $st_sql = "SELECT * from $st_tbCategories WHERE top_level = 1"; //echo "$st_sql
"; $h2SQL = mysql_query($st_sql, $hmSQL); if($h2SQL > 0) { if(mysql_num_rows($h2SQL) > 0) for ($in_A = 0; $in_A < mysql_num_rows($h2SQL); $in_A++) { $ar_row = mysql_fetch_array($h2SQL); $side_bar_categories[$in_A] = new CCategory; $side_bar_categories[$in_A]->id = $ar_row["id"]; $side_bar_categories[$in_A]->image2 = $ar_row["image2"]; $side_bar_categories[$in_A]->image3 = $ar_row["image3"]; } else $st_database_error .= "No top level categories defined\n"; } else $st_database_error .= mysql_error(); } if($st_database_error == "") { $st_sql = "SELECT $st_tbCategories.* FROM $st_tbCategories WHERE ($st_tbCategories.featured=1)"; // echo "$st_sql
"; $h1SQL = mysql_query($st_sql, $hmSQL); if($h1SQL > 0) { if(mysql_num_rows($h1SQL) > 0) for ($in_A = 0; $in_A < mysql_num_rows($h1SQL); $in_A++) { $ar_row = mysql_fetch_array($h1SQL); $ar_featured_categories[$in_A] = new CProduct; $ar_featured_categories[$in_A]->id = $ar_row["id"]; $ar_featured_categories[$in_A]->name = $ar_row["name"]; $ar_featured_categories[$in_A]->image = $ar_row["image"]; } else $st_database_error .= "No featured products this time"; }//end of if >0 else $st_database_error .= mysql_error(); }//end of if not db error else $st_database_error .= mysql_error(); require "$st_web_root" . "/includes/common/mySQL.close.inc"; ?>

\n"; for($in_B = $in_A; $in_B < $in_A+2; $in_B++) { if($in_B < count($ar_featured_categories)) { echo " \n"; } } echo " \n"; } ?>
Welcome to our ReadPlay Store. Here is an overview of our collection of true stories about real living animals featuring picture books, read-along audiocassettes, videocassettes and lifelike plush toys. To find out more about a particular item, or to place an order, simply click on that item for more information. Or, if you want to look at other products offered by our store, click on one of the buttons on the left.

Any Product displaying this icon is designed and produced by ReadPlay.
\n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo "

" . $ar_featured_categories[$in_B]->name . "
More Info
\n"; echo "