Theme images by Storman. Powered by Blogger.

04 June 2016

How to use bootstrap in Codeigniter?

Yes of course codeigniter is that one famous among of php framework. It is a one framework that easy to learn. This framework able to work as website, system, or something else...
currently codeigniter is number 3 among of popular php framework. Now let's start to use bootstrap with codeigniter by the way below:

1) ==> download codeigniter at https://www.codeigniter.com/download


2) ==> extract it and put it into our server like warmp server, xampp server ....



3)==> Open view file and add this line of view code 

<!DOCTYPE html>
<html>
<title><?php echo $title; ?></title>
<link rel="icon" type="image/png" href="<?php echo base_url();?>image/favicon.png">
<head>

<meta charset="utf-8">
<script type="text/javascript" src="<?php echo base_url();?>js/jquery-1.12.1.js"></script>

<link rel="stylesheet" type="text/css" href="http://cdnjs.cloudflare.com/ajax/libs/semantic-ui/1.12.0/semantic.min.css">

<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>css/bootstrap.css">

<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>css/style.css">

<script type="text/javascript" src="<?php echo base_url();?>js/bootstrap.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>js/bootstrap.min.js"></script>
</head>
<body>

</body>
</html>




0 on: "How to use bootstrap in Codeigniter?"