http://bin.cakephp.org/view/1034462467
How could i display the Orderlists20 array on view?
print_r(); -- result
Array
(
[Catalog] => Array
(
[id] => 1154
[timestamp] => 2008-01-08 23:22:15
[date_created] => 2008-01-08 23:22:15
[date_modified] => 0000-00-00 00:00:00
[order_id] => 282
[order_came_from] => WEB
[profile_name_first] => Hello
[profile_name_last] => World
)
[Orderlists20] => Array
(
[0] => Array
(
[id] => 1616
[catalog_id] => 1154
[timestamp] => 2008-01-09 11:10:52
[session_id] => sdus4rf1cq5f74pgj8b2u7l1a1
[item_id] => 152142
)
[1] => Array
(
[id] => 1617
[catalog_id] => 1154
[timestamp] => 2008-01-09 11:10:52
[session_id] => sdus4rf1cq5f74pgj8b2u7l1a1
[item_id] => 5656434
)
)
)
Trial? -- Its wrong.
View/
<?php foreach($data['Catalog']['Orderlists20'] as $catOrderlists): ?>
<tr>
<td><?php echo $catOrderlists['itemid']; ?></td>
<td><?php echo $catOrderlists['catalog_id']; ?></td>
<td><?php echo $catOrderlists['session_id']; ?></td>
</tr>
<?php endforeach; ?>
--
Louie Miranda ([EMAIL PROTECTED])
http://www.axishift.com
Security Is A Series Of Well-Defined Steps
chmod -R 0 / ; and smile :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---