Why not just add the string, "/articles/' to the href instead of
creating a variable? Or, if you want to keep using $html->url() just
create the entire link at once with $html->link($subject,
'/articles/result/rate/' . $result + 1)

On Sun, Mar 23, 2008 at 10:45 PM, Raistlin Majere <[EMAIL PROTECTED]> wrote:
>
>  $articlesurl=$html->url('/articles/');
>
>         if($session->check('Account') && !empty($all[$result]['articles']
>  ['mark']) && $all[$result]['articles']['mark'])
>         {
>                 echo '<b><a 
> href="'.$articlesurl.'result/rate/'.($result+1).'">'.
>  $subject.'</a></b> [<a href="'.$articlesurl.'modify/'.($result+1).'/'.
>  $account_id.'">Modify</a>] [<a href="'.$articlesurl.'delete/'.($result
>  +1).'/'.$account_id.'">Delete</a>]<br><br>';
>         }
>
>  How to solve?
>  >
>

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