在PHP

时间:2016-08-14 17:23:03

标签: php html image

我正在尝试将图像插入到这段代码中。 这是我网站的标题。

$headerNavigation['Home'] = array(
'link_url'      => coreFunctions::getCoreSitePath() . '/account_home.' . SITE_CONFIG_PAGE_EXTENSION,
'link_text'     => t ('Your_Files', 'Your Files'),
'user_level_id' => range(1, 20),
'position'      => 30

我试过这个:

$headerNavigation['Home'] = array(
'link_url'      => coreFunctions::getCoreSitePath() . '/account_home.' . SITE_CONFIG_PAGE_EXTENSION,
'link_text'     => t ('Your_Files', '<img src="path/to/my/img"> Your Files'),
'user_level_id' => range(1, 20),
'position'      => 30

还试过这个:

$headerNavigation['Home'] = array(
'link_url'      => coreFunctions::getCoreSitePath() . '/account_home.' . SITE_CONFIG_PAGE_EXTENSION,
'link_text'     => t ('Your_Files', echo '<img src="path/to/my/img"> Your Files'),
'user_level_id' => range(1, 20),
'position'      => 30

还试过这个:

$headerNavigation['Home'] = array(
'link_url'      => coreFunctions::getCoreSitePath() . '/account_home.' . SITE_CONFIG_PAGE_EXTENSION,
'link_text'     => t ('Your_Files', ?> '<img src="path/to/my/img"> Your Files'), <?php
'user_level_id' => range(1, 20),
'position'      => 30

但这些似乎都不起作用。

0 个答案:

没有答案