By: mendesdomnic

October 18, 2010 11:00 am

2,597 views

Multiple Jquery versions in your Web Application

As any software Jquery has evolved and has various releases available. You may have used Jquery plugins available for a feature required in your web application. There can be a scenario where you need to use plugins which are supported by different jquery versions. This tip explains how to go about using multiple versions of […]

Read More



By: mendesdomnic

September 16, 2009 3:50 pm

36,701 views

Enable Designer in PHPMyAdmin

Here's how you can enable Designer in PHPMyAdmin and save the DB design in PDF format. Checkout the tool and its ability to create relation between tables using a click and drag environment Assuming that phpmyadmin is installed on your System. Configuration Change Open the file libraries/config.default.php. Change the following lines: $cfg['Servers'][$i]['pmadb'] = […]

Read More



By: mendesdomnic

September 3, 2009 3:58 pm

11,617 views

How to check if Javascript is enabled on the client side using php

You might be using validations for your form on client side using Javascript. It may arise that client side Javascript is disabled, given this scenario your validations will go for a toss. You can check in your php if Javascript is enabled on client side using the following method. Add a hidden input in your […]

Read More



By: mendesdomnic

July 30, 2009 3:05 pm

23,834 views

Check MySQL Database Size Using SQL Query

Don't have access to the command prompt? Here's how you can find the database size in MySQL. Become a power MySQL user without access to the power of command line. Execute the following SQL Queries as per your need: Get Size of all database tables SELECT TABLE_SCHEMA AS 'Database', TABLE_NAME AS 'Table', CONCAT(ROUND(((DATA_LENGTH + INDEX_LENGTH […]

Read More



By: mendesdomnic

April 29, 2009 3:23 am

1,468 views

MySQL Tips

Search fields containing string of given length Let's say you have a products table with following structure: Table Name: Product Field Type id int(11) product_code varchar(100) brand_id int(11) price decimal(10,4) tax_type_id int(11) quantity int(11) weight decimal(10,3) cube decimal(10,3) has_options tinyint(4) is_active tinyint(4) is_featured tinyint(4) is_deleted tinyint(4) created_at datetime updated_at datetime Now you […]

Read More