hi AD7six,

I do have prototype.js in my webroot/js and i have included in my
layout. Is that what you meant by installing the prototype files.

About the undefined variable, actually it is being raised when the view
loads for the first time. Since at loading, no specific article is
selected, no data is being passed to the second div. I placed a isset
condition and now I am not getting any error

 <?php e($ajax->div("details")); ?>
           <h2><?php if (isset($data)){
                                   $php->array2table($data, true);
                            }
                  ?>
        </h2>
 <?php e($ajax->divEnd("details")); ?> 

Regards


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

Reply via email to