Zebra striped tables look good. It guides the user’s eyes when looking into your rows of data. This one useful when you have long list of data, making your app more user friendly. DOWNLOAD SOURCE CODE LIVE DEMO Step 1: Prepare your database configuration file. (I have config_open_db.php). As for the table structure, we can… Continue reading How To Create Zebra Striped Tables
Today I’m gonna show you how to use Lightbox while getting photo information from your database. I think this is great if you wanna have something like a dynamic photo gallery in your site. LIVE DEMO Step 1: Prepare your Database. We’ll have something like this: Step 2: Download Lightbox here. Step 3: Unzip it… Continue reading How To Use jQuery Lightbox With A Database? Step by Step Guide!
CakePHP requires us to follow certain convention. In this way, we will have very uniform system development, have free functionality, and save time over tracking configuration files! :)1. Create a Model directory: app/models/ filename: post.php classname: Post extension: class Post extends AppModel The filenames of models are always singular. And its classnames are CamelCased. 2. Create a Controller directory: app/controllers/ filename: posts_controller.php classname: PostsController extension: class… Continue reading CakePHP Naming Conventions
“What? MySQL Fulltext Search is not working!”Well, this is what I thought before. I used to have MyISAM tables when developing an application. I never thought about table types. I then realized that I was using InnoDB table type where MySQL Fulltext search is not working. So I had to alter the table from InnoDB… Continue reading How To Alter/Change InnoDB to MyISAM