Michel, thanks for your replay. you are rigth about serialize/deserialize. i make xml with php simplexml class and send to symfony and now working.
thanks again Celso ps. sorry i can't write speak very well 2007/3/16, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > > Could you explain why you want to do that (what do you want to > achieve)? And an important question is HOW you want to process (work > with) that array on client side? With PHP? Then you misunderstood > something ... > > If you want to process further any data on client side you should do > that with javascript. Write a function which request this array in a > serialized way, deserialize it, and use it for your purposes. I hope > i'm right because i never did that ... ;o) > > Michael > > > > On Mar 15, 1:24 pm, "g0d br" <[EMAIL PROTECTED]> wrote: > > hi, > > > > i'm new to both symfony and ajax that's why i have this question. > > i use ajax to update one div inside page, works fine. i follow book's > > example to do that. > > question: > > how do i get array of data from external url not to show but to work > with? > > > > thanks > > > > sample. > > > > page1.php (synfony) > > <?php echo link_to_remote('click here', > > array( > > 'url' => url_for('http://www.external.link.com/index.php', > true), > > 'with' => "'cep=' + $('cep').value", > > 'update' => 'cep_info', > > 'loading' => visual_effect('appear', 'indicator'). > > visual_effect('highlight', 'indicator', > > array('duration' => 1.5)), > > 'complete' => visual_effect('fade', 'indicator'), > > 'success' => visual_effect('appear', 'cep_info'). > > visual_effect('highlight', 'cep_info', > > array('duration' => 1.5)), > > 'script' => true, > > ) > > ) ?> > > <span id="indicator" style="display: none">waiting...</span> > > <div id="cep_info" style="display: none"></div> > > > > index.php (external, not symfony) > > <?php > > $var = array('test' => '1'); > > return $var; > > ?> > > > > --http://zero-d.com.br/ > > > > > -- http://zero-d.com.br/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---