samedi 25 avril 2015

Category selection form (PHP and HTML Help)


Hi i want to make form with category Cash Grow Baby , Item Growable Baby and Chicken selection from the following coding:

foreach ($dateinfo2 as $key => $time){
$uInfo = $_SESSION['data']->table('units')->byName($key)->data();
    if ($uInfo["className"] != 'CashGrowableBaby' && $uInfo["className"] != 'ItemGrowableBaby' && $uInfo["keyword"] != 'chicken') continue;
}

and right now i'm using below codes to get results of those different categories

foreach ($dateinfo2 as $key => $time){
$uInfo = $_SESSION['data']->table('units')->byName($key)->data();
    if ($uInfo["className"] != 'CashGrowableBaby') continue;
    // if ($uInfo["className"] != 'ItemGrowableBaby') continue;
    // if ($uInfo["keyword"] != 'chicken') continue;

sorry to bother but i don't know how to make segments of a full statement to get results in the desire category selection :(


Aucun commentaire:

Enregistrer un commentaire