Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

href in laravel view

In you app config file change the url to localhost/example/public

Then when you want to link to something

<a href="{{ url('page') }}">Some Text</a>

without blade

<a href="<?php echo url('page') ?>">Some Text</a>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #href #laravel #view
ADD COMMENT
Topic
Name
6+2 =