Activate wordpress plugin php code

Posted by on Dec 5, 2013 in General, Php, Wordpress | No comments yet

Being a developer some times when developing wordpress plugin what if we don’t have the admin access to activate the plugin. So in this post we are discussing about how we can activate wordpress plugin php code we need to …

Remove rows with multiple duplicate columns

Posted by on Nov 14, 2013 in General, MySQL, Php | No comments yet

Some times we need to remove rows with multiple duplicate columns as shown in the table below,See the last two rows with same values. ID college courses 183 24 102 151 24 52 155 24 66 179 24 66 With …

Upload image with preview

Posted by on Nov 4, 2013 in HTML, Javascript, Jquery, Php | No comments yet

Sometimes we need to preview images before uploading, As there are many JavaScript libraries like ajaxuploader to make this possible.There are time when we didn’t want to upload the files via AJAX. In that case we can do it using …

Direct SQL Queries in Magento

Posted by on Oct 22, 2013 in Magento, Php | 1 Comment

In this post we are discussing about the sql queries in magento that we can execute directly in php code Database Connections In Magento By default, Magento will automatically connect to it’s database and provide two separate resources which you …

Load More