Login
Remember
Register
Ask a Question
Explain how you can link images/CSS/JavaScript from a view in code igniter?
0
votes
asked
Dec 29, 2020
in
CodeIgniter
by
SakshiSharma
Explain how you can link images/CSS/JavaScript from a view in code igniter?
#css-code-igniter
#javascript-code-igniter
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Dec 29, 2020
by
SakshiSharma
In HTML, there is no Codeigniter way, as such it is a PHP server side framework. Just use an absolute path to your resources to link images/CSS/JavaScript from a view in CodeIgniter
/css/styles.css
/js/query.php
/img/news/566.gpg
...