Tuesday, October 23, 2012

& and & in a veiw ?

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

No comments: