Sorry to post...i figured it out.
Dave
-Original Message-
From: Dave Maharaj :: WidePixels.com [mailto:d...@widepixels.com]
Sent: September-30-09 3:23 PM
To: cake-php@googlegroups.com
Subject: Help with an array()
I have a merged array which produces
$new = array_merge
I have a merged array which produces
$new = array_merge($newSelections[$model_table],$additional_options);
Array
(
[0] => Array
(
[id] => 9
[name] => Confident
[UsersOption] => Array
(
[id] => 222
issue resolved.
On Jul 9, 8:48 pm, r557 <[EMAIL PROTECTED]> wrote:
> hey, ideally i would like to display all the fields, but it's not a
> huge deal, i just want something to output. when i placed your code
> in my view, it didn't work properly.
>
> it generated the following HTML Table.
>
>
>
hey, ideally i would like to display all the fields, but it's not a
huge deal, i just want something to output. when i placed your code
in my view, it didn't work properly.
it generated the following HTML Table.
ArrayArray
On Jul 9, 8:24 pm, Grant Cox <[EMAIL PROTECTED]> wrote:
> 1. Be mo
1. Be more specific - what do you want it to look like?
2.
$value){
echo'';
foreach($value as $k => $v){
echo '' . $v. '';
}
echo '';
}
?>
use $v not $value in your loop.
--~--~-~--~~~---~--~~
You received this message because you are
I know this is a basic issue, but can't seem to get the correct
output.
function show() {
$this->set('products', array($this->Session-
>read('ShoppingCart.Product')));
}
generates the follow array currently:
Array
(
[0] => Array
(
[id] => 13