Monthly Archives: April 2013

simple crud on codeigniter

sql: CREATE TABLE IF NOT EXISTS `tbl_person` (   `id` bigint(20) NOT NULL AUTO_INCREMENT,   `name` varchar(50) DEFAULT NULL,   `gender` char(1) DEFAULT NULL,   `dob` date DEFAULT NULL,   PRIMARY KEY (`id`) ) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=13 ; INSERT … Continue reading

Posted in PHP | Tagged | 2 Comments

setting virutal host on wamp apache codigniter

<VirtualHost *:80>     ServerAdmin rahul@localhost     ServerName mysite.lo     DocumentRoot “C:/wamp1/www/ci/CodeIgniter_2.1.3” <Directory “C:/wamp1/www/ci/CodeIgniter_2.1.3”>         Options Indexes FollowSymLinks Includes ExecCGI         AllowOverride All         Order allow,deny         Allow from all     </Directory> </VirtualHost> Ref:

Posted in Apache | Leave a comment

Coding a CSS3 & HTML5 One-Page Website Template

.html file <!DOCTYPE html> <!– The new doctype –> <html>    <head>       <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />       <title>Coding A CSS3 &amp; HTML5 One Page Template | Tutorialzine demo</title>       <link rel=”stylesheet” type=”text/css” href=”styles.css” />       <!– Internet Explorer … Continue reading

Posted in CSS, HTML | Leave a comment