Search
 
SCRIPT & CODE EXAMPLE
 

PHP

yii2 html a

<?= Html::a('Profile', ['user/view', 'id' => $id], ['class' => 'profile-link']) ?>
//The first argument is the display text. 
//It's not encoded, so if you're using data entered by the user, you need to encode it with Html::encode(). 
//The second argument is what will be in the href attribute of the <a tag. See Url::to() for details on what values it accepts. 
//The third argument is an array of tag attributes.
Comment

PREVIOUS NEXT
Code Example
Php :: remove seconds from time php 
Php :: IlluminateDatabaseQueryExcep Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes (SQL: alter table `users` add unique `users_email_unique`(`email`)) laravel 
Php :: laravel check if record exists 
Php :: symfony migrate fresh 
Php :: php catch all exceptions 
Php :: replace 0 in number to add 234 php 
Php :: laravel where json contains 
Php :: index.php wont load as main 
Php :: laravel save photo in both local and database 
Php :: wp_get_attachment alt text 
Php :: convert single quote in htmlentities php 
Php :: convert array to stdclass object in php example 
Php :: laravel take value from different array by key 
Php :: how do i open a new tab with php 
Php :: How to check if email exists in laravel validaton 
Php :: maintaining serial number in laravel pagination table 
Php :: how to get last id in database codeigniter 4 
Php :: php login google api 
Php :: laravel starter kit installation 
Php :: magento 1.9 print blank page error 
Php :: run a php site 
Php :: laravel collection put 
Php :: Notice: Undefined variable: _SESSION in C:xampphtdocspracticeheader.php on line 7 
Php :: how validate the value of object in arraye in laravel 
Php :: wordpress custom php use wp query 
Php :: laravel carbon 
Php :: php compute price less discount 
Php :: hash password laravel 
Php :: Wordpress disable admin bar to users except admin 
Php :: jquery serialize php decode 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =