How to export the data from MySQL into a XML file with PHP?

Tags: , , , ,

ShareThere are a couple of ways to export data from MySQL to a XML file. This post looks at how to export the data from MySQL into a XML file with PHP. The example code below uses the raw mysql_* functions but it should be easy enough to substitute a database library’s functions instead. It [...]

Read the full story

Posted Date :- 22 April 2013
Posted in Article, Computer, MySQL, PHP, Programming, TutorialComments Off

Learn how to enable JavaScript in the most popular web browsers.

Tags: , , , , , , ,

ShareLearn how to enable JavaScript in the most popular web browsers.

Read the full story

Posted Date :- 15 April 2013
Posted in Article, Computer, JavaScript, TutorialComments Off

How to export the data from MySQL into a CSV file with PHP including a header row?

Tags: , , , ,

ShareThere are a couple of ways to export data from MySQL to a CSV file but some of them never supports adding a header row to the CSV which contains the column names. This post looks at how to export the data from MySQL into a CSV file with PHP including a header row. The [...]

Read the full story

Posted Date :- 08 April 2013
Posted in Article, Computer, PHP, Programming, TutorialComments Off

Capitalize the sentence in Javascript!

Tags: , , ,

ShareCapitalize the sentence in Javascript! <script language="javascript"> String.prototype.capitalize = function(){ return this.replace( /(^|\s)([a-z])/g , function(m,p1,p2){ return p1+p2.toUpperCase(); } ); }; function capWords() { var inputString = document.form1.instring; // The input text field var outputString = document.form1.outstring; // The output text field outputString.value = inputString.value.capitalize(); } </script> <form name="form1" method="post"> <input name="instring" type="text" value="this is the [...]

Read the full story

Posted Date :- 01 April 2013
Posted in Article, JavaScript, Programming, TutorialComments Off

Create a folder if it doesn’t already exist in php

Tags: ,

ShareCreate a folder if it doesn’t already exist in php Defination and Usage: The mkdir() function creates a directory. This function returns TRUE on success, or FALSE on failure. mkdir(‘path/to/directory’, 0755, true); mkdir(path,mode,recursive,context) path – Required. Specifies the name of the directory to create mode – Optional. Specifies permissions. By default, the mode is 0777 [...]

Read the full story

Posted Date :- 25 March 2013
Posted in Article, PHP, Programming, TutorialComments Off

Admin URL is not working in Magento

Tags: , , , ,

ShareAdmin URL is not working in Magento. Go with following procedure to fix the issue: What you have in your Magento/app/etc/local.xml under <adminhtml><args><frontName><![CDATA[admin]]></frontName> </args></adminhtml>? Is it admin or something else? As you can see the admin is used in <![CDATA[admin]]> tag. So your admin url will be http://siteurl.com/index.php/admin And for anyone who turns Admin Base URL [...]

Read the full story

Posted Date :- 18 March 2013
Posted in Article, Magento, Programming, TutorialComments Off

How to get store admin email address and name in Magento?

Tags: , ,

Share How to get store admin email address and name in Magento? In Magento, if you need to use the admin’s email address or name and both. You can use the following code to get the admin’s email and name: $from_email = Mage::getStoreConfig('trans_email/ident_general/email'); //fetch sender email Admin $from_name = Mage::getStoreConfig('trans_email/ident_general/name'); //fetch sender name Admin  

Read the full story

Posted Date :- 11 March 2013
Posted in Article, Magento, Programming, TutorialComments Off

Show password in normal text of password box on check.

Tags: , , , , ,

ShareHow we can show the password box’s text in normal text if the box is password control box in HTML using JavaScript. Copy and paste the following code & you can type the password into the box provided and you will see the text as encrypted of password box is changed to normal readable text. [...]

Read the full story

Posted Date :- 08 March 2013
Posted in Article, HTML, JavaScript, Programming, TutorialComments Off

How to disable posts auto save in WordPress?

Tags: , , , , , ,

Share WordPress have a very useful function that auto-saves your posts while you’re typing them in the dashboard. Though, if for some reason you’d like to disable this function, it is very easy to do. Just read on! To disable WordPress autosaving function, simply open your functions.php file and paste the following function: function disableAutoSave(){ [...]

Read the full story

Posted Date :- 06 March 2013
Posted in Article, Programming, Tutorial, WordpressComments Off

Briefly unavailable for scheduled maintenance

Tags: , , , , , , , ,

Share“Briefly unavailable for scheduled maintenance” message after doing automatic upgrade in WordPress? As part of the automatic upgrade WordPress places a file named .maintenance in the blog base folder (folder that contains the wp-admin folder). If that file exists, then visitors will see the message “Briefly unavailable for scheduled maintenance. Check back in a minute“. [...]

Read the full story

Posted Date :- 12 June 2012
Posted in Article, Programming, Tutorial, WordpressComments Off

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Skype Online Status

Call me! - Shashidhar Kumar: My status is Unknown

LinkedIn Profile