\n";
foreach ($toy_array as $toy) {
$temp = explode("|", $toy);
// encode ASIN (so fuckers don't rip me off)
// jumber order (6372850149), add some random garbage at the end
$encoded_asin = substr($temp[1], 5, 1);
$encoded_asin .= substr($temp[1], 2, 1);
$encoded_asin .= substr($temp[1], 6, 1);
$encoded_asin .= substr($temp[1], 1, 1);
$encoded_asin .= substr($temp[1], 7, 1);
$encoded_asin .= substr($temp[1], 4, 1);
$encoded_asin .= substr($temp[1], 9, 1);
$encoded_asin .= substr($temp[1], 0, 1);
$encoded_asin .= substr($temp[1], 3, 1);
$encoded_asin .= substr($temp[1], 8, 1);
$random_garbage = str_shuffle("h4jdif7h4bG3DOi8hGTT");
// $random_garbage = str_shuffle("HBD7LDYUENXIUBZUGD6BS00000OD84NXXXSLD9GHSKSOQHFUDKSNGYR94NKDOFHUD9");
$encoded_asin .= $random_garbage;
$output .= "$temp[0]
";
// $output .= "$temp[0]
";
$col_num++;
if ($col_num >= $num_per_col && $curr_col < 3) {
$output .= "\n
";
$curr_col++;
$col_num=0;
}
}
$output .= " | \n";
return $output;
}
// GET TOYS
$query = mysql_query("SELECT * FROM Toys");
while ($row = mysql_fetch_array($query)) {
$toys = $row['Top_Listing'];
// $toys = $row['Toys'];
if ($row['Category'] == "Art & Craft") {
$Art_and_Craft_Toys = process_toys($toys);
} else if ($row['Category'] == "Music") {
$Music_Toys = process_toys($toys);
} else if ($row['Category'] == "Science & Nature") {
$Science_and_Nature_Toys = process_toys($toys);
} else if ($row['Category'] == "Sports & Activity") {
$Sports_and_Activity_Toys = process_toys($toys);
} else if ($row['Category'] == "Traditional") {
$Traditional_Toys = process_toys($toys);
}
}
?>
Educational Toys - WannaLearn.com
Educational Toysselected by WannaLearn |
Here are WannaLearn's Top 20 Lists of Education Toys for Young People for !
ALL toys (at the time we created this page) are in stock and ALL are shipped within 24 hours,
meaning they should arrive at your doorstep within a couple of days.
And ALL are very intelligent gifts for young people.
|
If you are interested in more than one toy, you can add a toy to your shopping cart, return here using your "back" button, and click another toy. The first toy will still be there in your cart, and you can easily remove it later if you change your mind !
|
Top 20 Science & Nature Toys |
Top 20 Sports & Activity Toys |
In association with . . .
|
|
BACK to the WannaLearn.com free learning directory...
|
Page last updated on: --