Dear rtanz,

$review['Review']['results_url'] is empty,

try

<?php
$review['Review']['results_url']=null;
echo $html->link('View results PDF',$review['Review']
['results_url'],array("target"=>"_blank"));
?>

and see for yourself.




On Aug 28, 7:39 pm, rtanz <[EMAIL PROTECTED]> wrote:
> <?php echo $html->link('View results PDF',$review['Review']
> ['results_url'],array("target"=>"_blank"))?>
>
> hi i have this code, i store the url in $review['Review']
> ['results_url'] so cake should be displaying the link corectly but
> instead it seems to us the first variable as the URL, thus the link
> points tohttp://localhost/wereview/reviews/View%20results%20PDF, any
> idea why?
>
> tanks


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