I'm trying to figure out what I'm doing wrong here, or if this is even formatted improperly all together. I am getting an error on line 3.
foreach($pge['feats'] as $val) {
} if ($val['name'] == 'wins' && $val['value'] == '1')
foreach ($val['value'] == '1' as $count) {
echo count($count);
}
Here's another way I tried...
foreach($pge['feats'] as $val)
if ($val['name'] == 'wins' && $val['value'] == '1')
foreach ($val['value'] == '1' as $count) {
echo count($count);
}
Thank you!
Aucun commentaire:
Enregistrer un commentaire