On Sat, Jan 3, 2009 at 10:05 PM, Steven Wright <rhythmicde...@gmail.com> wrote: > > In addition, just to prove I am not a complete dope. I get how this works, > just not with CakePHP. > > AJAX_TEST.PHP > > <?php > > $row_count = ($_POST['row_count'] + 1); > > echo "<tr id=\"row$row_count\"><td>Content for row $row_count</td></tr>"; > > ?>
With Cake, you'd find the row_count value in $this-params['url']['row_count'] Debugger::dump($this->params); or debug($this-params); or pr() or anything else to get a look at that array. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---