Maybe you should use link instead of url
$this->Html->link( /string $title/,/mixed $url = null/,/array $options = array()/,/string $confirmMessage = false);

$this->Html->link('title', '/photos/upload?PHPSESSID=' . session_id() . '&privacy=' . $_GET['privacy'],//array('escape' => false));

This should resolve your problem.
/
On 10/24/2012 04:55 AM, Chris wrote:
hi guys,..
I'm getting " & " in a view instead of " & " ,... how can I avoid " amp; " to pass privacy on upload...? here is my code:

'uploadScript' : '<?php echo $html->url('/photos/upload?PHPSESSID=' . session_id() . '&privacy=' . $_GET['privacy'], array('escape'=>false)) ?>',

and this is what's coming in a source
'uploadScript' : 'http://www.hamayk.com/photos/upload?PHPSESSID=fd25a246d89273d726dcfeea0ea14508&amp;privacy=public',

can anyone help please...

thanks in advance
chris

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
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.
Visit this group at http://groups.google.com/group/cake-php?hl=en.



--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 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.
Visit this group at http://groups.google.com/group/cake-php?hl=en.


Reply via email to