Jnr PHP/Codeigniter Developer Question:
Download Questions PDF

Tell me how you can link images/CSS/JavaScript from a view in code igniter?

Answer:

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

Download Jnr PHP/Codeigniter Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Explain echo vs. print statement?Tell me what are the 3 scope levels available in PHP and how would you define them?