RE: Help with an array() - SOLVED

2009-09-30 Thread Dave Maharaj :: WidePixels.com
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

Help with an array()

2009-09-30 Thread Dave Maharaj :: WidePixels.com
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

Re: Help with an array

2007-07-09 Thread r557
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. > > >

Re: Help with an array

2007-07-09 Thread r557
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

Re: Help with an array

2007-07-09 Thread Grant Cox
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

Help with an array

2007-07-09 Thread r557
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