Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace <a> tag with HTML::anchor() and replace<?= with <?php echo in view-file #2

Open
chvanikoff opened this issue Apr 16, 2011 · 0 comments

Comments

@chvanikoff
Copy link

HTML::anchor() will allow use URI instead of relative path (if I will pass 'user/welcome' as $url while my actual url is site.com/some/controller/some/action - the link will be site.com/some/controller/some/action/user/welcome instead of site.com/user/welcome).
Second one is good practice not to use <?= cause not all users allow short tags in php.ini (me for example).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant