• Creating a local clone of Mysql Database

    Swapnil
    No Comments

    Times when you want to work with the local copy of the website or application you might want to take the real database and replicate it to provide you with a local copy of the live mysql database. To do this just execute the following command  mysqldump -h [server] -u [user] ‘-p[password]‘ db1 | mysql […]

    Read More
  • Overloading in PHP with Example

    Swapnil
    No Comments

    Function overloading or method overloading is a feature that allows creating several methods with the same name which differ from each other in the type of the input parameters. It is simply defined as the ability of one function to perform different tasks. For example, doTask() and doTask(object O) are overloaded methods. To call the […]

    Read More
  • Functions In PHP

    Swapnil
    No Comments

    Functions in PHP   In this example, PHP codes are embedded in HTML. Here, we have used a function ‘DisplayTitle()’. This function starts with the word function and indicates that the character inserted just after this word is a function. It displays  the title of the tutorial. Any one who will go through this will […]

    Read More
  • Arrays in php

    Swapnil
    No Comments

    3. Arrays in PHP In PHP, arrays are ordered data maps and are used to store, manage and operate a set of variables. To put it simply, an array is a data structure that holds multiple data within a single identifier. There are two parts in an Array – Values and Keys. While Values  ontain […]

    Read More
  • Introduction to PHP

    Swapnil
    No Comments

    Introduction to PHP PHP, an acronym for Hypertext Preprocessor, is an HTML embedded scripting language. As a general purpose language, it is used for web development and HTML. Apart from being one of the potent, server-side scripting languages, PHP is also used for creating interactive and dynamic web sites. The basic syntax of PHP is […]

    Read More
  • Organise Yii models into subdirectories

    Swapnil
    1 Comment

    The default convention in Yii is to group all the models into a single folder which is Model i.e yii app => protected => models but when your app is large the database tables are also large and handling all these models inside the root folder is difficult, other principle of MVC architecture says […]

    Read More
  • WordPress Blog in Indian Languages : type in hindi / marathi

    Swapnil
    No Comments

    Simplistic Approach is to write text in http://www.google.com/transliterate/ copy and paste it to your blog.   If you want some more freedom and type in the same editor use a plugin. Go to Plugins -> Add New, Install INDIC IME plugin. This will enable you to type in 12 Different Indian Languages Including Hindi , Marathi […]

    Read More
  • Configuring Apache to run PHP on windows xp , 7

    Swapnil
    No Comments

    Configuring Apache to run PHP on windows xp ,7 in 3 Easy Steps Prerequisites : Apache web server installed for a detailed installation refer Installing Apache Server on Windows 7 or xp for php on windows guide PHP Installed on windows machine we assume that php is installed under c:\php\ for a different directory change it […]

    Read More

Search

Powered by Ajaxy