
How to pass external link in laravel blade to anchor tag
There is an issue while passing the external link to the anchor tag in laravel blade. To solve the issue of how to pass an external link in laravel, you have to use http:// protocol which can be a problem in the blade file for the external links.
Answers 1
-
Pass external link to anchor tag in laravel
<a href="{{ $anchorLink }}" target="_blank"> {{ $anchorLink }} </a>
0
Random Code Snippet Queries: Laravel
- Laravel onclick function not working
- How to generate .env file for laravel?
- Laravel URL validation not working
- Route group with URI prefix using middleware and route name prefixes
- How to check email is valid or not in Laravel
- Root composer.json requires php ^7.3 but your php version (8.0.0) does not satisfy that requirement
- Syntax error or access violation: 1072 Key column 'role_id' doesn't exist in table (SQL: alter table `users` add constraint `users_role_id_foreign` foreign key (`role_id`) references `roles` (`id`))
- How to call Laravel route in jQuery
- Return redirect laravel not working
- Laravel append URI in route
- Laravel save object to database
- Attempt to read property "avatar" on null in Laravel
- How to add columns in existing table using migration in laravel
- The openssl extension is required for SSL/TLS protection but is not available
- Call to undefined function Illuminate\Encryption\openssl_cipher_iv_length()
- If condition in foreach loop in laravel
- How to return error message from controller to view in laravel
- SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP 'posts_user_id_foreign'; check that column/key exists
- How to print form data in laravel
- Update email with unique validation in laravel
- How to update record after save method in Laravel
- How to use more than one query scope in Laravel
- How to get query string value in laravel
- SQLSTATE[42000]: Syntax error or access violation: 1075 Incorrect table definition; there can be only one auto column and it must be defined as a key
- Laravel API response format