I try this old (nate's) code :

// test.thtml
<code>
<?=$ajax->link('Update 2 Div\'s', '/controller/test', array('update'
=>
array('first', 'second'))); ?>

<?=$ajax->div('first'); ?>
        This is the first div, it has the current time:
        <?=strtotime('now'); ?>
<?=$ajax->divEnd('first'); ?>

<?=$ajax->div('second'); ?>
        This is the second div, it shows server variables:
        <? pr($_SERVER); ?>
<?=$ajax->divEnd('second'); ?>
</code>


but it doesn't seem to work anymore.

Wath's the new way ?


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to