Hey guys, its solved now... I just got rid of $html->url() and used plain
text:
<?php echo $html->link($item['Topic']['topic_title'],
'/forum/viewtopic.php?f='.$item['Topic']['forum_id'].'&t='.$item['Topic']['topic_id']);
?>
I was hoping i could display absolute url using the $html->url('/', true)
but seems it convert the special characters.
Thanks,
On Mon, Aug 17, 2009 at 3:09 PM, M.Mahgoub <[email protected]> wrote:
> Hi everyone
> I am integrating cakePHP and phpBB3 to display latest forum topics on the
> main page, phpBB3 requires special characters on the url such as (&) tried
> to use something like this:
>
> <?php echo $html->link($item['Topic']['topic_title'],
> $html->url('/forum/viewtopic.php?f='.$item['Topic']['forum_id'].'&t='.$item['Topic']['topic_id'],
> true)); ?>
>
> But it outputs the special character (&) which will break the link..
> any ideas how to get this working?
>
> Thanks,
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---